Android Question Error Message When I upgrade API 25

Status
Not open for further replies.

junaidahmed

Well-Known Member
Licensed User
Longtime User
I have just update Android SDK Platform API from 14 to 25.When I run my application it shows an error message as

Compiling code. 0.00
Compiling layouts code. 0.00
Generating R file. 0.04
Compiling generated Java code. 0.87
Convert byte code - optimized dex. 0.29
Packaging files. 0.28
Copying libraries resources 1.91
Found 1 resource files.
Signing package file (debug key). 1.26
ZipAlign file. 0.03
Installing file to device. Error
Failed to install NewPdfViewer.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]

Restarting ADB Server may solve this problem.
Tools - Restart ADB Server. Device serial: emulator-5554



Please check and advise
 

Mikonios

Active Member
Licensed User
Longtime User
Hello, sorry to bother you I have the same problem. I have deleted the PDFWriter library but with AVD it indicates the same problema API 28. Attached image with the libraries that I use. If you could tell me which is the one that generates the error, it would be very helpful. Thank you very much in advance.


B4X:
B4A Version: 8.50
Parsing code.    (2.90s)
Building folders structure.    (0.32s)
Running custom action.    (0.33s)
Compiling code.    (3.22s)
Compiling layouts code.    (0.03s)
Organizing libraries.    (4.52s)
Generating R file.    (6.04s)
Compiling debugger engine code.    (22.24s)
Compiling generated Java code.    (15.90s)
Convert byte code - dex.    (176.76s)
Packaging files.    (6.99s)
Copying libraries resources    (3.77s)
    Found 15 resource files.
Signing package file (private key).    (6.49s)
ZipAlign file.    (2.50s)
Installing file to device.    Error
*******_RAPID_DEBUG.apk: 1 file pushed. 12.8 MB/s (6036711 bytes in 0.449s)
    pkg: /data/local/tmp/*******_RAPID_DEBUG.apk
Failure [INSTALL_FAILED_NO_MATCHING_ABIS]

AvdErrLibrary.jpg
 
Last edited:
Upvote 0

npsonic

Active Member
Licensed User
You have so many libraries in use that it's almost impossible to say. Every library is not created by Erel. You are using libraries from multiple users.
It's your responsibility as an developer to understand what you are adding to your project and for what architecture those libs need to work.
 
Upvote 0

Mikonios

Active Member
Licensed User
Longtime User
Thanks for the quick reply npsonic,
I have to try different font sizes in different screen resolutions and I assumed that I could with the emulator.
I will create a smaller app with the minimum of libraries to do the tests.
Only one question, from Tools / Run AVD Manager does not open the administrator of AVD, but the B4A AVDManager.
And from the B4A AVDManager I do not know how to create new virtual devices outside Platform 24.
Attached image.

I have AVD Manager installed but I do not know how to open it from the command line.
Is it possible to open it? How can the AVD Manager be executed from the command line?
I do not mean the emulator: D: \ 0000AndroidEstudio \ Componentes \ emulator \ emulator.exe -avd Note3_API_27
I mean the avdmanager: D: \ 0000AndroidEstudio \ Components \ tools \ bin \ avdmanager.bat
Attached other image.




AvdManager.jpg



AvdManager1.jpg


AvdManager2.jpg
 
Last edited:
Upvote 0
Status
Not open for further replies.
Top