Application is not installed - android

I test my application in android phone. it's a unsigned application export from eclipse.
When i installed the application in phone it's shows user permisson messages. then finally i got a message application not installed. here my mainfest code
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.z_enterprise.praywithme"
android:versionCode="1"
android:versionName="1.0"
android:installLocation="preferExternal" >
<uses-sdk android:minSdkVersion="2" />
<uses-permission android:name="android.permission.INTERNET" />
<application
android:icon="#drawable/appicon"
android:label="#string/app_name" >
<activity
android:name=".main"
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=".about"
android:label="#string/app_name" >
</activity>
<activity
android:name=".favour"
android:label="#string/app_name" >
</activity>
</application>
</manifest>

Check Settings > Applications > Mark/Enable Unknown Sources
Mark answer, if useful

Related

No supported device for my Android app in Google Play

I am aware this question is asked multiple times on stackoverflow, but the answers given in those posts don't help me out...
This is my manifest
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="be.gps.android"
android:versionCode="2"
android:versionName="0.0.2" >
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="19"/>
<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/TRL004451"
android:theme="#style/AppTheme" >
<activity
android:name=".StartUpActivity" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".activities.login.LoginActivity"
android:windowSoftInputMode="stateVisible|adjustResize|stateHidden" >
</activity>
<activity
android:name=".activities.useraccount.resetpassword.RequestResetPasswordActivity"
android:windowSoftInputMode="stateVisible|adjustResize|stateHidden" >
</activity>
<activity
android:name=".activities.useraccount.resetpassword.VerifyResetPasswordActivity"
android:windowSoftInputMode="stateVisible|adjustResize|stateHidden" >
</activity>
<activity
android:name=".activities.settings.ServerSettingsActivity"
android:windowSoftInputMode="stateVisible|adjustResize|stateHidden" >
</activity>
<activity
android:name=".activities.settings.FilterActivity"
android:windowSoftInputMode="stateVisible|adjustResize|stateHidden" >
</activity>
<activity
android:name=".activities.main.MainActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:windowSoftInputMode="stateVisible|adjustResize|stateHidden" >
</activity>
<activity
android:name=".activities.settings.DatePickerActivity"
android:windowSoftInputMode="stateVisible|adjustResize|stateHidden" >
</activity>
</application>
</manifest>
Seems to be a problem with a library I was using (signalR).
This post had the exact same issue : Supported devices 0 on Google play
I just replaced the signalR jars with these https://github.com/eak65/FixedSignalRJar and now I have 9000 supported devices.

Android XML File

I am trying to build a real estate app. I am having the following problem. I am trying to run this in the Android Studio but i seem to get error that I am missing a required attribute height and width. Could someone please tell me what I am doing wrong? I will be very thankful.
This is my manifest:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.estate"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
<application
android:allowBackup="true"
android:configChanges="keyboardHidden|orientation"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name" >
<activity
android:name="com.example.estate.MainActivity"
android:label="#string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- Registration Activity -->
<activity
android:name=".RegActivity"
android:label="User Registration" >
</activity>
<activity
android:name=".ScreenActivity"
android:label="Welcome::" >
</activity>
<activity
android:name=".NewPropertyActivity"
android:label="Post a property/holding" >
</activity>
<activity
android:name=".AllProductsActivity"
android:label="Available Properties" >
</activity>
<activity
android:name=".EditProductActivity"
android:label="Property Details" >
</activity>
<activity
android:name=".MessageActivity"
android:label="Talk to the Admin" >
</activity>
<activity
android:name=".ReadComments"
android:label="Property" >
</activity>
<activity
android:name=".AddComment"
android:label="Property" >
</activity>
</application>
<!-- Internet Permissions -->
<uses-permission android:name="android.permission.INTERNET" />
</manifest>

aapt dump badging error while trying to publish an Android apk on Google Play

I am getting this problem when publishing android apk file on Google Play.
This is my AndroidManifast.xml code:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="xx.com"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
android:allowBackup="true"
android:icon="#drawable/main_icon"
android:label="#string/app_name"
android:theme="#style/AppTheme"
>
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version"
/>
<activity
android:name="xx.com.MainActivity"
android:label="#style/AppTheme" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="xx.com.Images"
android:label="#string/app_name" >
</activity>
<activity
android:name="xx.com.Awards"
android:label="#string/app_name" >
</activity>
<activity
android:name="xx.com.Magazine"
android:label="#string/app_name" >
</activity>
<activity
android:name="com.google.android.gms.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
</application>
I tried many stackoverflow.com examples but failed. Apk is working fine in device and emulator.
This may be your problem
<activity
android:name="amithanda.com.MainActivity"
android:label="#style/AppTheme" >
label should be a String value.
android:label="#string/app_name"
FYI : Developer guide gives you an idea
android:label="string resource"

Application is not installed, android

I made my android application and tested it on the AVD but when I want to install it on my phone, I get "application not installed"
what could cause this problem??
here is the Manifest.xml, I don't see any thing weird in it !!
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.dashboard_our"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="18" />
<permission
android:name="com.example.dashboard_our.permission.MAPS_RECEIVE"
android:protectionLevel="signature" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<application
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#android:style/Theme.Light.NoTitleBar" >
<activity
android:name="com.example.dashboard_our.MainActivity"
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="com.example.dashboard_our.Hotels"
android:label="#string/app_name" >
</activity>
<activity
android:name="com.example.dashboard_our.Restaurants"
android:label="#string/app_name" >
</activity>
<activity
android:name="com.example.dashboard_our.About"
android:label="#string/app_name" >
</activity>
<activity
android:name="com.example.dashboard_our.PrayTime"
android:label="#string/app_name" >
</activity>
<activity
android:name="com.example.dashboard_our.Airports"
android:label="#string/app_name" >
</activity>
<activity
android:name="com.example.dashboard_our.Currency_convert"
android:label="#string/app_name" >
</activity>
<activity
android:name="com.example.dashboard_our.Translator"
android:label="#string/title_activity_translate" >
</activity>
<activity
android:name="com.example.dashboard_our.WeatherActivity"
android:label="#string/app_name" >
</activity>
<activity
android:name="com.example.dashboard_our.PlaceDetailsActivity"
android:label="#string/app_name" >
<intent-filter>
<action android:name=".PlaceDetails" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name="com.example.dashboard_our.Todo"
android:label="#string/app_name" >
</activity>
<activity
android:name="com.example.dashboard_our.Ocr"
android:label="#string/app_name" >
</activity>
<activity
android:name="com.example.dashboard_our.TodoDetailActivity"
android:label="#string/app_name" >
</activity>
<provider
android:name=".contentprovider.MyTodoContentProvider"
android:authorities="de.vogella.android.todos.contentprovider" >
</provider>
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="API-KEY" />
</application>
</manifest>
any error from a DDMS? also you can try looking for .apk file from your project source and installing the app into the device.
Did you check "allow installation from non market applications" in your phone settings?
Did you remove an SD card around the time of installation?
Check if you have declared Main Activity twice inside AndroidManifest.xml. Delete one.
Another solution is if you haven't signed your app, you need to sign it. As the docs say All applications must be signed. The system will not install an application on an emulator or a device if it is not signed. Go here for more information: Android App Signing
I solved it, the problem was in my phone, I had to format my phone in order to work

Android - error opening trace file: No such file or directory(2)

I am developing an android application and one part of it is to check whether the wifi of the phone is enabled or not.
I am running the application directly on mobile phone.These are some errors
error opening trace file: No such file or directory (2)
Refusing to reopen boot DEX 'system/framework/hwframework.jar'
This is my manifest file
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.demo"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/AppTheme" >
<activity
android:name="com.example.demo.Test_allActivity"
android:label="#string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
I am very new to android , and can't figure out the solution. Thanks is advance
I guess you need the ACCESS_NETWORK_STATE in your manifest.
Need to check your main class(MainActivity) file is mentioned or not in 'Manifest.xml'.
<activity
android:label="#string/app_name"
android:name="com.androidexample.demo.MainActivity" >
<intent-filter >
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

Categories

Resources