question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bundletool "install-apks" command only install base.apk

See original GitHub issue

Describe the bug Bundletool install-apks command only install base.apk,but i use extract-apks command with same device-spec and i got two apks(base-master.apk、base-arm64_v8a.apk), and this error is just happened in Android phone: OPPO R11 plus for now

Bundletool version(s) affected Version: 0.10.0

Environment: Android phone: OPPO R11 plus

device spec

{
  "supportedAbis": ["arm64-v8a", "armeabi-v7a", "armeabi"],
  "supportedLocales": ["zh-TW"],
  "deviceFeatures": ["reqGlEsVersion=0x30002", "android.hardware.audio.output", "android.hardware.bluetooth", "android.hardware.bluetooth_le", "android.hardware.camera", "android.hardware.camera.any", "android.hardware.camera.autofocus", "android.hardware.camera.flash", "android.hardware.camera.front", "android.hardware.faketouch", "android.hardware.fingerprint", "android.hardware.location", "android.hardware.location.gps", "android.hardware.location.network", "android.hardware.microphone", "android.hardware.opengles.aep", "android.hardware.screen.landscape", "android.hardware.screen.portrait", "android.hardware.sensor.accelerometer", "android.hardware.sensor.compass", "android.hardware.sensor.gyroscope", "android.hardware.sensor.light", "android.hardware.sensor.proximity", "android.hardware.sensor.stepcounter", "android.hardware.sensor.stepdetector", "android.hardware.telephony", "android.hardware.telephony.cdma", "android.hardware.telephony.gsm", "android.hardware.touchscreen", "android.hardware.touchscreen.multitouch", "android.hardware.touchscreen.multitouch.distinct", "android.hardware.touchscreen.multitouch.jazzhand", "android.hardware.usb.accessory", "android.hardware.usb.host", "android.hardware.vulkan.level", "android.hardware.vulkan.version=4194307", "android.hardware.wifi", "android.hardware.wifi.direct", "android.software.app_widgets", "android.software.backup", "android.software.connectionservice", "android.software.device_admin", "android.software.home_screen", "android.software.input_methods", "android.software.live_wallpaper", "android.software.midi", "android.software.print", "android.software.sip", "android.software.sip.voip", "android.software.voice_recognizers", "android.software.webview", "oppo.Align.alarm.support", "oppo.all.client", "oppo.all.client_7_5", "oppo.ams.act.freqcontrol", "oppo.ams.broadcast.adjust.obrecque", "oppo.ams.broadcast.adjust.pbrecque", "oppo.ams.broadcast.filter.power", "oppo.ams.broadcast.jumpqueue", "oppo.ams.broadcast.oppobt", "oppo.app2sd.disabled", "oppo.autobrightctl.animation.support", "oppo.battery.notify.new", "oppo.black.gesture.proximitysensor.support", "oppo.black.gesture.wake.up.arouse.support", "oppo.breath.light.support", "oppo.brightness.mode.automatic", "oppo.button.light.support", "oppo.cdma.mixed.volte.support", "oppo.charge.sound.noplay", "oppo.childspace.support", "oppo.color.temperature.adjustment.not.support", "oppo.coloros.fake.bs", "oppo.commcenter.reboot.dialog", "oppo.common_center.wlan.assistant", "oppo.dirac.support", "oppo.disable.small.window.leather", "oppo.eyeprotect.support", "oppo.feature.16103", "oppo.filtrated.app", "oppo.fingerprint.sensor.front", "oppo.fingerprint.support", "oppo.front.touch.fingerprint.sensor", "oppo.front.touch.fingerprint.tpprotect", "oppo.fulldiskencryption.unsupported", "oppo.gallery.opencabc", "oppo.guard.elf.support", "oppo.hardware.face.support", "oppo.hw.manufacturer.qualcomm", "oppo.inexact.alarm", "oppo.jobscheduler.support", "oppo.launcher.download.progress.support", "oppo.launcher.layout5x4", "oppo.lcd.first.tp.last.support", "oppo.memory.auto.clean", "oppo.memory.auto.deep.clean", "oppo.multiapp.support", "oppo.multibits.dimming.support", "oppo.multimedia.record.conflict", "oppo.null.rom", "oppo.null.rom.allnet", "oppo.ocloud.photo.sync", "oppo.ota.reserve.support", "oppo.otg.connection.menu.support", "oppo.outdoor.brightness.support", "oppo.package.encrypt.support.only", "oppo.performance.power.netwake", "oppo.qualcomm.gemini.support", "oppo.screen.hovering.support", "oppo.securitypay.support", "oppo.selfprotect.support", "oppo.sensor.dynamic.calibrate", "oppo.softsim.ignore_data_setting", "oppo.soundeffect.support", "oppo.support.single.partition", "oppo.sw.solution.device", "oppo.sw.solution.rom", "oppo.tp.limit.support", "oppo.volte.support"],
  "screenDensity": 480,
  "sdkVersion": 25
}

image

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
LiuCranecommented, Oct 29, 2021

I’m facing the same issue, it looks like OPPO devices will intercept the installation from bundletool command, using it’s own installer app to install, and it cannot perform a proper installation for split apks.

0reactions
RaulLpgcommented, Nov 29, 2022

Experiencing the same issue with Oppo A5

Read more comments on GitHub >

github_iconTop Results From Across the Web

bundletool - Android Developers
To deploy your app from an APK set, use the install-apks command and specify the path of the APK set using the --apks=...
Read more >
apk does not install after generated by bundletool
The only way is to install them is via a computer and a cable either via bundletool install-apks command (using the .apks files), ......
Read more >
Bundletool and how to utilize Android App Bundle - N47
Install APK (s) from the APK Set compatible with a connected device. Extract device spec from a device as a JSON file. Add...
Read more >
Android App Bundle Part-2 : BundleTool | by Saurabh Patel
Generate an APK set archive using bundletool basic command, ... Open app/build.gradle and add the following inside the android {} block:
Read more >
bundletool - Android-Studio入门指南
[ bundletool ] creates a JSON file for your device in the directory the tool is ... To deploy your app from an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found