![]() ![]() 09:52:53.799 4952-4952/? E/SoLoader: couldn't find DSO to load: libjscexecutor.so caused by: couldn't find DSO to load: libfb.so caused by: APK was built for a different platform 09:52:53.797 4952-4952/? E/SoLoader: couldn't find DSO to load: libfb.so caused by: APK was built for a different platform 09:52:53.796 4952-4952/? E/SoLoader: couldn't find DSO to load: libc++_shared.so caused by: dlopen failed: "/data/data/com.tryuniversalapk/lib-main/libc++_shared.so" has unexpected e_machine: 40 (EM_ARM) The universl APK able to run without crash ZIP file containing the built APKs I drag and drop the app-x86-release.apk to the emulator.Uninstalled the tryUniversalAPK app (this is the app-universal-release.apk) in the emulator.I drag and drop the app-universal-release.apk to the emulator.I uninstalled the tryUniversalAPK app in the android emulator.Navigate to tryUniversalAPK\android\app\build\outputs\apk\release folder.Installing APK 'app-x86-release.apk' on 'Pixel_3_API_28(AVD) - 9' for app:releaseĠ8:58:13 D/app-x86-release.apk: Uploading app-x86-release.apk onto device 'emulator-5554'Ġ8:58:13 D/Device: Uploading file onto device 'emulator-5554'Ġ8:58:13 D/ddms: Reading file permision of D:\Codes\tryUniversalAPK\android\app\build\outputs\apk\release\app-x86-release.apk as: rwx-Ġ8:58:13 V/ddms: execute: running pm install -r -t "/data/local/tmp/app-x86-release.apk"Ġ8:58:14 V/ddms: execute 'pm install -r -t "/data/local/tmp/app-x86-release.apk"' on 'emulator-5554' : EOF hit. Open tryUniversalAPK/android/app/adleĠ8:58:13 V/ddms: execute: running am get-configĠ8:58:13 V/ddms: execute 'am get-config' on 'emulator-5554' : EOF hit.Open the terminal with adb logcat running, it shows these errorsĠ4-02 08:32:42.891 8782 8782 D ReactNative: ReactInstanceManager.ctor()Ġ4-02 08:32:42.939 8782 8782 D ReactNative: ReactInstanceManager.createReactContextInBackground()Ġ4-02 08:32:42.939 8782 8782 D ReactNative: ReactInstanceManager.recreateReactContextInBackgroundInner()Ġ4-02 08:32:42.939 8782 8782 D ReactNative: ReactInstanceManager.recreateReactContextInBackgroundFromBundleLoader()Ġ4-02 08:32:42.939 8782 8782 D ReactNative: ReactInstanceManager.recreateReactContextInBackground()Ġ4-02 08:32:42.939 8782 8782 D ReactNative: nCreateReactContextOnNewThread()Ġ4-02 08:34:32.749 9021 9021 D ReactNative: ReactInstanceManager.ctor()Ġ4-02 08:34:32.764 9021 9021 D ReactNative: ReactInstanceManager.createReactContextInBackground()Ġ4-02 08:34:32.765 9021 9021 D ReactNative: ReactInstanceManager.recreateReactContextInBackgroundInner()Ġ4-02 08:34:32.765 9021 9021 D ReactNative: ReactInstanceManager.recreateReactContextInBackgroundFromBundleLoader()Ġ4-02 08:34:32.765 9021 9021 D ReactNative: ReactInstanceManager.recreateReactContextInBackground()Ġ4-02 08:34:32.765 9021 9021 D ReactNative: nCreateReactContextOnNewThread()Ĥ Modify gradle to build APK on separate build per CPU architecture.Open the terminal with tryUniversalAPK directory.adb logcat *:S ReactNative:V ReactNativeJS:V.Steps To Reproduce 1 Initiate New Project Info Fetching system and libraries information. Note: to re-install the application if it already existe use adb install -r "your_apk_file.$ D:\Codes\tryUniversalAPK\node_modules\.bin\react-native info Here's what I always do: (For full beginners)ġ- Run the emulator, and wait until it's completely started.Ģ- Go to your sdk installation folder then go to platform-tools (you should see an executable called adb.exe)ģ- create a new file and call it run.bat, edit the file with notepad and write CMD in it and save it.Ĥ- copy your desired apk to the same folderĥ- now open run.bat and write adb install "your_apk_file.apk"Ħ- wait until the installation is completeħ- voila your apk is installed to your emulator. apk files to emulator regardless of what you are using (Eclipse or Android Studio) EDIT: Even though this answer is marked as the correct answer (in 2013), currently, as answered by below, you can drag-n-drop apk files directly into the emulator to install them. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |