I have copied my Manifest XML File. I am just not able to figure out the error. The application is running on my Redmi 1S but it is not running on my Micromax Canvas A110 I have already tried all the solutions which are already there on Stackoverflow related to this.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.gilpix.am"
android:versionCode="1"
android:versionName="1.0" android:installLocation="auto">
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="19" />
<uses-configuration
android:reqTouchScreen="finger" android:reqKeyboardType="undefined"/>
<uses-feature
android:name="android.hardware.touchscreen" />
<uses-permission
android:name="android.permission.INTERNET" />
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true" android:xlargeScreens="true" android:resizeable="true"/>
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/AppTheme" android:uiOptions="splitActionBarWhenNarrow">
<!-- Splash screen -->
<activity android:name="com.gilpix.am.Splash"
android:label="#string/app_name"
android:screenOrientation="portrait"
android:theme="#android:style/Theme.Black.NoTitleBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.gilpix.am.Login"
android:label="#string/app_name"
>
</activity>
<activity android:name="com.gilpix.am.Logind"
android:label="#string/logind_name"
android:uiOptions="splitActionBarWhenNarrow"
>
</activity>
<activity android:name="com.gilpix.am.U_home"
android:label="#string/app_name"
android:uiOptions="splitActionBarWhenNarrow" >
</activity>
</application>
</manifest>
clean your project and if it doesn't work than close
the project and restart, create new apk and install
This error is come due to different android version of your both android phones.
Please check the configuration for both the phones and change according to that in manifest.xml file
android:minSdkVersion="11"
android:targetSdkVersion="19"
Thanks
Related
OK up until I started integrating FireBase my android app would load for debugging google services and other things. When I started integrating FireBase and AdMob I got the above mentioned error I am adding both manifests. I am using Android Studio 2.1.1 and Libgdx this is my Main manifest:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.allen.howlers.game"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="23" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/GdxTheme" >
<activity
android:name="com.allen.howlers.game.AndroidLauncher"
android:label="#string/app_name"
android:screenOrientation="landscape"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.google.android.gms.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />
<meta-data android:name="com.google.android.gms.games.APP_ID" android:value="#string/app_id" />
<meta-data android:name="com.google.android.gms.version" android:value="#integer/google_play_services_version" />
</application>
</manifest>
This is my secondary manifest from BaseGameUtils:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.example.games.basegameutils"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="23" />
<application>
<meta-data android:name="com.google.android.gms.version" android:value="#integer/google_play_services_version" />
<meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" />
</application>
</manifest>
here is the project I got from my tutor, I got the error after running it on my test phone. I tried the answers on stackovetflow but nothing helps. The logcat and manifest.xml are as follows
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.imagerecognition"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="22" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/AppTheme" >
<activity
android:name=".TakeBusinessCardActivity"
android:label="#string/app_name">
<!--<intent-filter>-->
<!--<action android:name="android.intent.action.MAIN" />-->
<!--<category android:name="android.intent.category.LAUNCHER" />-->
<!--</intent-filter>-->
</activity>
<activity android:name=".HistoryActivity" android:label="拍摄历史"/>
<activity android:name=".DecodeActivity" android:label="解码"/>
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
try to change your
android:name=".MainActivity"
to fully specified name
android:name="com.imagerecognition.MainActivity"
sometime eclipse act weird.
if it does not work you can try this
unable to find activity
This following method worked for me. Right click on your project and select properties. The "Properties for " panel will open. From the menu on the left go to Java Build Path -> Order and Export . From the list below uncheck the box next to Android Dependencies. Finally clean your project and run.
Reference : Link
Try removing the imports and importing them manually again.
Have a problem with an already-published application on Google Play.
The application is in the store, but no one can download, because of an error Supported devices 0.
I did refactor the project, removed all unnecessary with the manifest. Compiled a new apk, and again "Supported devices 0".
I use pdfbox-android-1.8.8.jar.
If I remove the pdfbox from project, then are "Supported devices 7700".
I build project with Eclipse.
What does this mean?
Manifest
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.firm.project"
android:versionCode="3"
android:versionName="1.01" >
<uses-sdk
android:minSdkVersion="15"
android:targetSdkVersion="21"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.CAMERA"/>
<application
android:name=".App"
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/AppTheme">
<activity
android:name=".StartActivity"
android:label="#string/app_name"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".OneActivity" android:screenOrientation="portrait">
</activity>
</application>
</manifest>
Here is my code:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.semesterproject"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="21" />
<uses-permission android:name="android.permission.SEND_SMS"/>
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/AppTheme" >
<activity
android:windowSoftInputMode="adjustResize|adjustPan"
android:name=".MainActivity"
android:label="#string/app_name"
android:screenOrientation="portrait" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
The error is shown at the start of activity tag.
I changed the android:theme in the application to fullscreen then the error was generated, I did undo the changes i-e change the them to the previous theme that is shown in the code but it's still giving the error. What is causing the error, and how can I fix it?
I've developed an application using Eclipse and when I run it on my Droid Ultra the application runs when running through Eclipse. To my understanding when that happens the application should be installed on the device. However, when I unplug the device and try to run the app by going through my phone applications it displays a toast message saying "App isn't installed". Does anyone know why this is happening? Is this a code problem, an environment issue, anything?
Here is my manifest if it helps?
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="edu.ggc.thinkfast"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="20" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.BLUETOOTH" />
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/AppTheme" android:permission="android.permission.BLUETOOTH">
<activity
android:name=".MainScreen"
android:label="#string/app_name"
android:screenOrientation="portrait"
android:noHistory="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".FactScreen"
android:screenOrientation="portrait"
android:noHistory="true"></activity>
<activity android:name=".CategoryScreen"
android:screenOrientation="portrait"></activity>
<activity android:name=".TimerScreen"
android:screenOrientation="portrait"
android:noHistory="true"></activity>
<activity android:name=".QuestionScreen"
android:screenOrientation="portrait"
android:noHistory="true"></activity>
<activity android:name=".NextQuestionScreen"
android:theme="#android:style/Theme.Dialog"
android:screenOrientation="portrait"
android:noHistory="true"></activity>
</application>
Do you already have the app installed previously on the device?If so please uninstall the existing app and try again with eclipse.The problem may be due to incorrectly signed certificates.