Aswin Balaji

Aswin Balaji

186 Sadasivam Nagar,Madipakkam,Chennai, TN 600091
Aswin Balaji

Common Error in Android and How to Solve this Error

September 14, 2015, by Aswin Balaji, category ANDROID
We will go through the errors that Android developers generally face during development.  will tell you root cause & solution for the problems.


When you try to install application in your sd card in android phone & if your sd card is not mounted the you will get this error while launching the application.

Solution :-  Go to Settings –> Sd card & Phone Storage –> Mount your sd card.

Whenever you try to install application in sd card & memory but if they do not have enough space left to include that application then you will get this error.

Solution :- Remove any application or data that you don’t want and free up the space before installing it again.
Solution :-
(1) Make sure you are writing correct package name in AndroidManifest.xml file without any blank space.
(2) Remove any previous .apk file which has similar package name as the one you are currently installing.

Make sure that this line should be there in AndroidManifest.xml file.

<uses-sdk android:minSdkVersion=”15″ android:targetSdkVersion=”15″/>

Also make sure you are using the Correct version no according to your sdk.

This comes because you forget to include 1 of the library in your project. Most of times it comes when you use google maps in application.

Also make sure you are not including external jars in your Manifest file. It should be avoided.
Below should be avoided.

<uses-library android:name=”org.snmp4j.PDU”/>
<uses-library android:name=”org.snmp4j.Snmp”/>
<uses-library android:name=”org.snmp4j.TransportMapping”/&gt;

Also make sure that whichever library you have included in manifest files should be included in target device where you are running project.

When you try to use any feature that is supported in higher version of android sdks but not in the one you are using then you will get this error.

Solution :- Whichever feature you are using , make sure that it is supported in your current Sdk.
When I say features, it means features like this.
<uses-feature android:name=”” android:required=”true” />
<uses-feature android:name=”android.hardware.touchscreen.multitouch” android:required=”true” />
<uses-feature android:name=”” />
<uses-feature android:name=”” android:required=”true” />