Install Android App Bundle on device
I built my project using the new Android App Bundle format. With APK files, I can download the APK to my device, open it, and immediately install the app. I downloaded my app as a bundle (.aab format) and my Nexus 5X running Android 8.1 can't open the file. Is there any way to install AABs on devices in the same convenient manner as APKs?
android android-app-bundle
add a comment |
I built my project using the new Android App Bundle format. With APK files, I can download the APK to my device, open it, and immediately install the app. I downloaded my app as a bundle (.aab format) and my Nexus 5X running Android 8.1 can't open the file. Is there any way to install AABs on devices in the same convenient manner as APKs?
android android-app-bundle
1
Looks like it takes a few more steps than a simple apk: developer.android.com/guide/app-bundle/test.
– Mike M.
May 18 '18 at 21:25
add a comment |
I built my project using the new Android App Bundle format. With APK files, I can download the APK to my device, open it, and immediately install the app. I downloaded my app as a bundle (.aab format) and my Nexus 5X running Android 8.1 can't open the file. Is there any way to install AABs on devices in the same convenient manner as APKs?
android android-app-bundle
I built my project using the new Android App Bundle format. With APK files, I can download the APK to my device, open it, and immediately install the app. I downloaded my app as a bundle (.aab format) and my Nexus 5X running Android 8.1 can't open the file. Is there any way to install AABs on devices in the same convenient manner as APKs?
android android-app-bundle
android android-app-bundle
asked May 18 '18 at 21:07
prfarlowprfarlow
389414
389414
1
Looks like it takes a few more steps than a simple apk: developer.android.com/guide/app-bundle/test.
– Mike M.
May 18 '18 at 21:25
add a comment |
1
Looks like it takes a few more steps than a simple apk: developer.android.com/guide/app-bundle/test.
– Mike M.
May 18 '18 at 21:25
1
1
Looks like it takes a few more steps than a simple apk: developer.android.com/guide/app-bundle/test.
– Mike M.
May 18 '18 at 21:25
Looks like it takes a few more steps than a simple apk: developer.android.com/guide/app-bundle/test.
– Mike M.
May 18 '18 at 21:25
add a comment |
4 Answers
4
active
oldest
votes
Short answer: No
Longer answer:
Android App Bundles is a publishing format. Android devices require .apk files to install applications.
The PlayStore or any other source that you're installing from needs to extract apks from the bundle, sign each one and then install them specific to the target device.
The conversion from .aab to .apk is done via bundletool
Under which case would we use the Build bundle(s) option, not the signed bundle considering we cant publish debug apps on the play-store
– Bryan Ibrahim
Oct 6 '18 at 18:21
I'd mainly do that for local testing.
– keyboardsurfer
Oct 8 '18 at 9:53
add a comment |
Installing the aab directly from the device, I couldn't find a way for that.
But there is a way to install it through your command line using the following documentation You can install apk to a device through BuildTool
You can now install extract apks from aab file and install it to a device
Extracting apk files from through the next command
java -jar bundletool-all-0.3.3.jar build-apks --bundle=bundle.aab --output=app.apks --ks=my-release-key.keystore --ks-key-alias=alias --ks-pass=pass:password
Arguments:
--bundle -> Android Bundle .aab file
--output -> Destination and file name for the generated apk file
--ks -> Keystore file used to generate the Android Bundle
--ks-key-alias -> Alias for keystore file
--ks-pass -> Password for Alias file (Please note the 'pass' prefix before password value)
Then you will have a file with extension .apks
So now you need to install it to a device
java -jar bundletool-all-0.6.0.jar install-apks --adb=/android-sdk/platform-tools/adb --apks=app.apks
Arguments:
--adb -> Path to adb file
--apks -> Apks file need to be installed
add a comment |
No, if you are debugging an app without other users use the Build > Build APK(s) menu in Android Studio or execute it in your device/emulator them the debug release apk will install automatically. If you are debugging an app with others use Build > Generate Signed APK... menu. If you want to publish the beta version use the Google Play Store. Your APK(s) will be in appbuildoutputsapkdebug
and apprelease
folders.
add a comment |
Yeah it's possible You need to use this Google tool:
https://github.com/google/bundletool
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%2f50419286%2finstall-android-app-bundle-on-device%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
Short answer: No
Longer answer:
Android App Bundles is a publishing format. Android devices require .apk files to install applications.
The PlayStore or any other source that you're installing from needs to extract apks from the bundle, sign each one and then install them specific to the target device.
The conversion from .aab to .apk is done via bundletool
Under which case would we use the Build bundle(s) option, not the signed bundle considering we cant publish debug apps on the play-store
– Bryan Ibrahim
Oct 6 '18 at 18:21
I'd mainly do that for local testing.
– keyboardsurfer
Oct 8 '18 at 9:53
add a comment |
Short answer: No
Longer answer:
Android App Bundles is a publishing format. Android devices require .apk files to install applications.
The PlayStore or any other source that you're installing from needs to extract apks from the bundle, sign each one and then install them specific to the target device.
The conversion from .aab to .apk is done via bundletool
Under which case would we use the Build bundle(s) option, not the signed bundle considering we cant publish debug apps on the play-store
– Bryan Ibrahim
Oct 6 '18 at 18:21
I'd mainly do that for local testing.
– keyboardsurfer
Oct 8 '18 at 9:53
add a comment |
Short answer: No
Longer answer:
Android App Bundles is a publishing format. Android devices require .apk files to install applications.
The PlayStore or any other source that you're installing from needs to extract apks from the bundle, sign each one and then install them specific to the target device.
The conversion from .aab to .apk is done via bundletool
Short answer: No
Longer answer:
Android App Bundles is a publishing format. Android devices require .apk files to install applications.
The PlayStore or any other source that you're installing from needs to extract apks from the bundle, sign each one and then install them specific to the target device.
The conversion from .aab to .apk is done via bundletool
edited Nov 22 '18 at 10:24
answered May 22 '18 at 10:38
keyboardsurferkeyboardsurfer
10.6k34572
10.6k34572
Under which case would we use the Build bundle(s) option, not the signed bundle considering we cant publish debug apps on the play-store
– Bryan Ibrahim
Oct 6 '18 at 18:21
I'd mainly do that for local testing.
– keyboardsurfer
Oct 8 '18 at 9:53
add a comment |
Under which case would we use the Build bundle(s) option, not the signed bundle considering we cant publish debug apps on the play-store
– Bryan Ibrahim
Oct 6 '18 at 18:21
I'd mainly do that for local testing.
– keyboardsurfer
Oct 8 '18 at 9:53
Under which case would we use the Build bundle(s) option, not the signed bundle considering we cant publish debug apps on the play-store
– Bryan Ibrahim
Oct 6 '18 at 18:21
Under which case would we use the Build bundle(s) option, not the signed bundle considering we cant publish debug apps on the play-store
– Bryan Ibrahim
Oct 6 '18 at 18:21
I'd mainly do that for local testing.
– keyboardsurfer
Oct 8 '18 at 9:53
I'd mainly do that for local testing.
– keyboardsurfer
Oct 8 '18 at 9:53
add a comment |
Installing the aab directly from the device, I couldn't find a way for that.
But there is a way to install it through your command line using the following documentation You can install apk to a device through BuildTool
You can now install extract apks from aab file and install it to a device
Extracting apk files from through the next command
java -jar bundletool-all-0.3.3.jar build-apks --bundle=bundle.aab --output=app.apks --ks=my-release-key.keystore --ks-key-alias=alias --ks-pass=pass:password
Arguments:
--bundle -> Android Bundle .aab file
--output -> Destination and file name for the generated apk file
--ks -> Keystore file used to generate the Android Bundle
--ks-key-alias -> Alias for keystore file
--ks-pass -> Password for Alias file (Please note the 'pass' prefix before password value)
Then you will have a file with extension .apks
So now you need to install it to a device
java -jar bundletool-all-0.6.0.jar install-apks --adb=/android-sdk/platform-tools/adb --apks=app.apks
Arguments:
--adb -> Path to adb file
--apks -> Apks file need to be installed
add a comment |
Installing the aab directly from the device, I couldn't find a way for that.
But there is a way to install it through your command line using the following documentation You can install apk to a device through BuildTool
You can now install extract apks from aab file and install it to a device
Extracting apk files from through the next command
java -jar bundletool-all-0.3.3.jar build-apks --bundle=bundle.aab --output=app.apks --ks=my-release-key.keystore --ks-key-alias=alias --ks-pass=pass:password
Arguments:
--bundle -> Android Bundle .aab file
--output -> Destination and file name for the generated apk file
--ks -> Keystore file used to generate the Android Bundle
--ks-key-alias -> Alias for keystore file
--ks-pass -> Password for Alias file (Please note the 'pass' prefix before password value)
Then you will have a file with extension .apks
So now you need to install it to a device
java -jar bundletool-all-0.6.0.jar install-apks --adb=/android-sdk/platform-tools/adb --apks=app.apks
Arguments:
--adb -> Path to adb file
--apks -> Apks file need to be installed
add a comment |
Installing the aab directly from the device, I couldn't find a way for that.
But there is a way to install it through your command line using the following documentation You can install apk to a device through BuildTool
You can now install extract apks from aab file and install it to a device
Extracting apk files from through the next command
java -jar bundletool-all-0.3.3.jar build-apks --bundle=bundle.aab --output=app.apks --ks=my-release-key.keystore --ks-key-alias=alias --ks-pass=pass:password
Arguments:
--bundle -> Android Bundle .aab file
--output -> Destination and file name for the generated apk file
--ks -> Keystore file used to generate the Android Bundle
--ks-key-alias -> Alias for keystore file
--ks-pass -> Password for Alias file (Please note the 'pass' prefix before password value)
Then you will have a file with extension .apks
So now you need to install it to a device
java -jar bundletool-all-0.6.0.jar install-apks --adb=/android-sdk/platform-tools/adb --apks=app.apks
Arguments:
--adb -> Path to adb file
--apks -> Apks file need to be installed
Installing the aab directly from the device, I couldn't find a way for that.
But there is a way to install it through your command line using the following documentation You can install apk to a device through BuildTool
You can now install extract apks from aab file and install it to a device
Extracting apk files from through the next command
java -jar bundletool-all-0.3.3.jar build-apks --bundle=bundle.aab --output=app.apks --ks=my-release-key.keystore --ks-key-alias=alias --ks-pass=pass:password
Arguments:
--bundle -> Android Bundle .aab file
--output -> Destination and file name for the generated apk file
--ks -> Keystore file used to generate the Android Bundle
--ks-key-alias -> Alias for keystore file
--ks-pass -> Password for Alias file (Please note the 'pass' prefix before password value)
Then you will have a file with extension .apks
So now you need to install it to a device
java -jar bundletool-all-0.6.0.jar install-apks --adb=/android-sdk/platform-tools/adb --apks=app.apks
Arguments:
--adb -> Path to adb file
--apks -> Apks file need to be installed
edited Dec 13 '18 at 14:24
answered Oct 8 '18 at 14:31
Omar HossamEldinOmar HossamEldin
1,70911136
1,70911136
add a comment |
add a comment |
No, if you are debugging an app without other users use the Build > Build APK(s) menu in Android Studio or execute it in your device/emulator them the debug release apk will install automatically. If you are debugging an app with others use Build > Generate Signed APK... menu. If you want to publish the beta version use the Google Play Store. Your APK(s) will be in appbuildoutputsapkdebug
and apprelease
folders.
add a comment |
No, if you are debugging an app without other users use the Build > Build APK(s) menu in Android Studio or execute it in your device/emulator them the debug release apk will install automatically. If you are debugging an app with others use Build > Generate Signed APK... menu. If you want to publish the beta version use the Google Play Store. Your APK(s) will be in appbuildoutputsapkdebug
and apprelease
folders.
add a comment |
No, if you are debugging an app without other users use the Build > Build APK(s) menu in Android Studio or execute it in your device/emulator them the debug release apk will install automatically. If you are debugging an app with others use Build > Generate Signed APK... menu. If you want to publish the beta version use the Google Play Store. Your APK(s) will be in appbuildoutputsapkdebug
and apprelease
folders.
No, if you are debugging an app without other users use the Build > Build APK(s) menu in Android Studio or execute it in your device/emulator them the debug release apk will install automatically. If you are debugging an app with others use Build > Generate Signed APK... menu. If you want to publish the beta version use the Google Play Store. Your APK(s) will be in appbuildoutputsapkdebug
and apprelease
folders.
answered May 22 '18 at 17:27
GasparGaspar
318110
318110
add a comment |
add a comment |
Yeah it's possible You need to use this Google tool:
https://github.com/google/bundletool
add a comment |
Yeah it's possible You need to use this Google tool:
https://github.com/google/bundletool
add a comment |
Yeah it's possible You need to use this Google tool:
https://github.com/google/bundletool
Yeah it's possible You need to use this Google tool:
https://github.com/google/bundletool
answered Nov 22 '18 at 9:26
MinisMinis
42139
42139
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.
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%2f50419286%2finstall-android-app-bundle-on-device%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
1
Looks like it takes a few more steps than a simple apk: developer.android.com/guide/app-bundle/test.
– Mike M.
May 18 '18 at 21:25