Application not installed error Developing Android app
I developed an app recently and send it to a shop in our country called CafeBazaar to put it for sale but in an email they said:
we installed this app on Huawei P8lite with android 6.0 and we got
this error "Application not installed"
Now I searched a lot about this kind of error but this is very general error in my opinion and I can't determine how should solve this error
My manifest is like this:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"/>
<meta-data
android:name="firebase_crashlytics_collection_enabled"
android:value="false" />
<application
android:name="com.android.example.example.AppController"
android:allowBackup="true"
android:hardwareAccelerated="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:largeHeap="true"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme"
tools:ignore="GoogleAppIndexingWarning">
I searched a lot but usually answer was put this two below attribute in your application tag on manifest:
android:debuggable="true"
android:testOnly="false"
I didn't done this yet but I want to know what should I do?
android manifest android-debug android-debugging
|
show 2 more comments
I developed an app recently and send it to a shop in our country called CafeBazaar to put it for sale but in an email they said:
we installed this app on Huawei P8lite with android 6.0 and we got
this error "Application not installed"
Now I searched a lot about this kind of error but this is very general error in my opinion and I can't determine how should solve this error
My manifest is like this:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"/>
<meta-data
android:name="firebase_crashlytics_collection_enabled"
android:value="false" />
<application
android:name="com.android.example.example.AppController"
android:allowBackup="true"
android:hardwareAccelerated="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:largeHeap="true"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme"
tools:ignore="GoogleAppIndexingWarning">
I searched a lot but usually answer was put this two below attribute in your application tag on manifest:
android:debuggable="true"
android:testOnly="false"
I didn't done this yet but I want to know what should I do?
android manifest android-debug android-debugging
If you are using Android Studio try first to clean your project. If you are trying to install the apk in a real device and you has installed one time at least, try to clear the cache from this apk (you can do that in settings -> apps -> yourApp in your device) and uninstall it manually
– Alberto Crespo
Nov 23 '18 at 15:46
Hi Thanks for response I made an signed-apk version and gave them this version but they got this error
– Benjamin Sadeghi
Nov 23 '18 at 15:47
which is your minimum android version code your this apk? (minSdkVersion
)
– Alberto Crespo
Nov 23 '18 at 15:50
@AlbertoCrespo compileSdkVersion 28- minSdkVersion 21- targetSdkVersion 28- versionCode 2- versionName "1.2"-
– Benjamin Sadeghi
Nov 23 '18 at 15:53
try reading this issue with theAUTHENTICATE_ACCOUNTS
for android 6.0 stackoverflow.com/questions/32601456/…
– Alberto Crespo
Nov 23 '18 at 15:57
|
show 2 more comments
I developed an app recently and send it to a shop in our country called CafeBazaar to put it for sale but in an email they said:
we installed this app on Huawei P8lite with android 6.0 and we got
this error "Application not installed"
Now I searched a lot about this kind of error but this is very general error in my opinion and I can't determine how should solve this error
My manifest is like this:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"/>
<meta-data
android:name="firebase_crashlytics_collection_enabled"
android:value="false" />
<application
android:name="com.android.example.example.AppController"
android:allowBackup="true"
android:hardwareAccelerated="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:largeHeap="true"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme"
tools:ignore="GoogleAppIndexingWarning">
I searched a lot but usually answer was put this two below attribute in your application tag on manifest:
android:debuggable="true"
android:testOnly="false"
I didn't done this yet but I want to know what should I do?
android manifest android-debug android-debugging
I developed an app recently and send it to a shop in our country called CafeBazaar to put it for sale but in an email they said:
we installed this app on Huawei P8lite with android 6.0 and we got
this error "Application not installed"
Now I searched a lot about this kind of error but this is very general error in my opinion and I can't determine how should solve this error
My manifest is like this:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"/>
<meta-data
android:name="firebase_crashlytics_collection_enabled"
android:value="false" />
<application
android:name="com.android.example.example.AppController"
android:allowBackup="true"
android:hardwareAccelerated="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:largeHeap="true"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme"
tools:ignore="GoogleAppIndexingWarning">
I searched a lot but usually answer was put this two below attribute in your application tag on manifest:
android:debuggable="true"
android:testOnly="false"
I didn't done this yet but I want to know what should I do?
android manifest android-debug android-debugging
android manifest android-debug android-debugging
edited Nov 23 '18 at 19:19
Zoe
11.1k73776
11.1k73776
asked Nov 23 '18 at 15:41
Benjamin Sadeghi
33
33
If you are using Android Studio try first to clean your project. If you are trying to install the apk in a real device and you has installed one time at least, try to clear the cache from this apk (you can do that in settings -> apps -> yourApp in your device) and uninstall it manually
– Alberto Crespo
Nov 23 '18 at 15:46
Hi Thanks for response I made an signed-apk version and gave them this version but they got this error
– Benjamin Sadeghi
Nov 23 '18 at 15:47
which is your minimum android version code your this apk? (minSdkVersion
)
– Alberto Crespo
Nov 23 '18 at 15:50
@AlbertoCrespo compileSdkVersion 28- minSdkVersion 21- targetSdkVersion 28- versionCode 2- versionName "1.2"-
– Benjamin Sadeghi
Nov 23 '18 at 15:53
try reading this issue with theAUTHENTICATE_ACCOUNTS
for android 6.0 stackoverflow.com/questions/32601456/…
– Alberto Crespo
Nov 23 '18 at 15:57
|
show 2 more comments
If you are using Android Studio try first to clean your project. If you are trying to install the apk in a real device and you has installed one time at least, try to clear the cache from this apk (you can do that in settings -> apps -> yourApp in your device) and uninstall it manually
– Alberto Crespo
Nov 23 '18 at 15:46
Hi Thanks for response I made an signed-apk version and gave them this version but they got this error
– Benjamin Sadeghi
Nov 23 '18 at 15:47
which is your minimum android version code your this apk? (minSdkVersion
)
– Alberto Crespo
Nov 23 '18 at 15:50
@AlbertoCrespo compileSdkVersion 28- minSdkVersion 21- targetSdkVersion 28- versionCode 2- versionName "1.2"-
– Benjamin Sadeghi
Nov 23 '18 at 15:53
try reading this issue with theAUTHENTICATE_ACCOUNTS
for android 6.0 stackoverflow.com/questions/32601456/…
– Alberto Crespo
Nov 23 '18 at 15:57
If you are using Android Studio try first to clean your project. If you are trying to install the apk in a real device and you has installed one time at least, try to clear the cache from this apk (you can do that in settings -> apps -> yourApp in your device) and uninstall it manually
– Alberto Crespo
Nov 23 '18 at 15:46
If you are using Android Studio try first to clean your project. If you are trying to install the apk in a real device and you has installed one time at least, try to clear the cache from this apk (you can do that in settings -> apps -> yourApp in your device) and uninstall it manually
– Alberto Crespo
Nov 23 '18 at 15:46
Hi Thanks for response I made an signed-apk version and gave them this version but they got this error
– Benjamin Sadeghi
Nov 23 '18 at 15:47
Hi Thanks for response I made an signed-apk version and gave them this version but they got this error
– Benjamin Sadeghi
Nov 23 '18 at 15:47
which is your minimum android version code your this apk? (
minSdkVersion
)– Alberto Crespo
Nov 23 '18 at 15:50
which is your minimum android version code your this apk? (
minSdkVersion
)– Alberto Crespo
Nov 23 '18 at 15:50
@AlbertoCrespo compileSdkVersion 28- minSdkVersion 21- targetSdkVersion 28- versionCode 2- versionName "1.2"-
– Benjamin Sadeghi
Nov 23 '18 at 15:53
@AlbertoCrespo compileSdkVersion 28- minSdkVersion 21- targetSdkVersion 28- versionCode 2- versionName "1.2"-
– Benjamin Sadeghi
Nov 23 '18 at 15:53
try reading this issue with the
AUTHENTICATE_ACCOUNTS
for android 6.0 stackoverflow.com/questions/32601456/…– Alberto Crespo
Nov 23 '18 at 15:57
try reading this issue with the
AUTHENTICATE_ACCOUNTS
for android 6.0 stackoverflow.com/questions/32601456/…– Alberto Crespo
Nov 23 '18 at 15:57
|
show 2 more comments
2 Answers
2
active
oldest
votes
What worked for me was signing my app with both the signatures v1 and v2
You could try selecting one if you signed with both methods.
thanks for reply i signed my apk just with V1 because some where in StackOverFlow i read that signing with both can cause problem in some phones !!?? is that true ?
– Benjamin Sadeghi
Nov 23 '18 at 19:31
Yes, it is true.
– Lekr0
Nov 24 '18 at 2:54
add a comment |
After several weeks of headache i finally find solution and i put it here so if anyone had same problem can solve it.
For this problem i putted this two attribute in application tag:
- android:debuggable="false"
- android:testOnly="false"
and finally it solved my problem.
<application
android:name="com.android.example.example.AppController"
android:allowBackup="true"
android:debuggable="false"
android:testOnly="false"
android:hardwareAccelerated="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:largeHeap="true"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme"
tools:ignore="GoogleAppIndexingWarning">
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53449497%2fapplication-not-installed-error-developing-android-app%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
What worked for me was signing my app with both the signatures v1 and v2
You could try selecting one if you signed with both methods.
thanks for reply i signed my apk just with V1 because some where in StackOverFlow i read that signing with both can cause problem in some phones !!?? is that true ?
– Benjamin Sadeghi
Nov 23 '18 at 19:31
Yes, it is true.
– Lekr0
Nov 24 '18 at 2:54
add a comment |
What worked for me was signing my app with both the signatures v1 and v2
You could try selecting one if you signed with both methods.
thanks for reply i signed my apk just with V1 because some where in StackOverFlow i read that signing with both can cause problem in some phones !!?? is that true ?
– Benjamin Sadeghi
Nov 23 '18 at 19:31
Yes, it is true.
– Lekr0
Nov 24 '18 at 2:54
add a comment |
What worked for me was signing my app with both the signatures v1 and v2
You could try selecting one if you signed with both methods.
What worked for me was signing my app with both the signatures v1 and v2
You could try selecting one if you signed with both methods.
answered Nov 23 '18 at 19:18
Lekr0
334110
334110
thanks for reply i signed my apk just with V1 because some where in StackOverFlow i read that signing with both can cause problem in some phones !!?? is that true ?
– Benjamin Sadeghi
Nov 23 '18 at 19:31
Yes, it is true.
– Lekr0
Nov 24 '18 at 2:54
add a comment |
thanks for reply i signed my apk just with V1 because some where in StackOverFlow i read that signing with both can cause problem in some phones !!?? is that true ?
– Benjamin Sadeghi
Nov 23 '18 at 19:31
Yes, it is true.
– Lekr0
Nov 24 '18 at 2:54
thanks for reply i signed my apk just with V1 because some where in StackOverFlow i read that signing with both can cause problem in some phones !!?? is that true ?
– Benjamin Sadeghi
Nov 23 '18 at 19:31
thanks for reply i signed my apk just with V1 because some where in StackOverFlow i read that signing with both can cause problem in some phones !!?? is that true ?
– Benjamin Sadeghi
Nov 23 '18 at 19:31
Yes, it is true.
– Lekr0
Nov 24 '18 at 2:54
Yes, it is true.
– Lekr0
Nov 24 '18 at 2:54
add a comment |
After several weeks of headache i finally find solution and i put it here so if anyone had same problem can solve it.
For this problem i putted this two attribute in application tag:
- android:debuggable="false"
- android:testOnly="false"
and finally it solved my problem.
<application
android:name="com.android.example.example.AppController"
android:allowBackup="true"
android:debuggable="false"
android:testOnly="false"
android:hardwareAccelerated="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:largeHeap="true"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme"
tools:ignore="GoogleAppIndexingWarning">
add a comment |
After several weeks of headache i finally find solution and i put it here so if anyone had same problem can solve it.
For this problem i putted this two attribute in application tag:
- android:debuggable="false"
- android:testOnly="false"
and finally it solved my problem.
<application
android:name="com.android.example.example.AppController"
android:allowBackup="true"
android:debuggable="false"
android:testOnly="false"
android:hardwareAccelerated="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:largeHeap="true"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme"
tools:ignore="GoogleAppIndexingWarning">
add a comment |
After several weeks of headache i finally find solution and i put it here so if anyone had same problem can solve it.
For this problem i putted this two attribute in application tag:
- android:debuggable="false"
- android:testOnly="false"
and finally it solved my problem.
<application
android:name="com.android.example.example.AppController"
android:allowBackup="true"
android:debuggable="false"
android:testOnly="false"
android:hardwareAccelerated="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:largeHeap="true"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme"
tools:ignore="GoogleAppIndexingWarning">
After several weeks of headache i finally find solution and i put it here so if anyone had same problem can solve it.
For this problem i putted this two attribute in application tag:
- android:debuggable="false"
- android:testOnly="false"
and finally it solved my problem.
<application
android:name="com.android.example.example.AppController"
android:allowBackup="true"
android:debuggable="false"
android:testOnly="false"
android:hardwareAccelerated="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:largeHeap="true"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme"
tools:ignore="GoogleAppIndexingWarning">
answered Dec 7 '18 at 22:16
Benjamin Sadeghi
33
33
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53449497%2fapplication-not-installed-error-developing-android-app%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
If you are using Android Studio try first to clean your project. If you are trying to install the apk in a real device and you has installed one time at least, try to clear the cache from this apk (you can do that in settings -> apps -> yourApp in your device) and uninstall it manually
– Alberto Crespo
Nov 23 '18 at 15:46
Hi Thanks for response I made an signed-apk version and gave them this version but they got this error
– Benjamin Sadeghi
Nov 23 '18 at 15:47
which is your minimum android version code your this apk? (
minSdkVersion
)– Alberto Crespo
Nov 23 '18 at 15:50
@AlbertoCrespo compileSdkVersion 28- minSdkVersion 21- targetSdkVersion 28- versionCode 2- versionName "1.2"-
– Benjamin Sadeghi
Nov 23 '18 at 15:53
try reading this issue with the
AUTHENTICATE_ACCOUNTS
for android 6.0 stackoverflow.com/questions/32601456/…– Alberto Crespo
Nov 23 '18 at 15:57