‘No JUnit tests found’ in Eclipse

Right Click on Project > Properties > Java Build Path > Add the Test folder as source folder. All source folders including Test Classes need to be in Eclipse Java Build Path. So that the sources such as main and test classes can be compiled into the build directory (Eclipse default folder is bin).

Installation error: INSTALL_FAILED_OLDER_SDK

It is due to android:targetSdkVersion=”@string/app_name” in your manifiest file.Change it to: The targetSdkVersion should be an integer, but @string/app_name would be a string. I think this causing the error. EDIT:You have to add a default intent-filter in your manifiest file for the activity. Then only android can launch the activity. otherwise you will get the … Read more

Call of overloaded function is ambiguous

The literal 0 has two meanings in C++.On the one hand, it is an integer with the value 0.On the other hand, it is a null-pointer constant. As your setval function can accept either an int or a char*, the compiler can not decide which overload you meant. The easiest solution is to just cast … Read more