cnlohr / rawdrawandroid

Build android apps without any java, entirely in C and Make
MIT License
3.55k stars 226 forks source link

Parser error: there was a problem parsing the package #42

Closed LinArcX closed 3 years ago

LinArcX commented 3 years ago

Hello. I've tried to build/push the sample app into my android phone(android 6, not rooted!)

But in final step, it throws some errors on my screen phone. These are last lines of build process:

Verification succesful
#Using the apksigner in this way is only required on Android 30+
/mnt/D/software/linux/IDE/android/sdk/build-tools/30.0.0/apksigner sign --key-pass pass:password --ks-pass pass:password --ks my-release-key.keystore cnfgtest.apk
rm -rf temp.apk
rm -rf makecapk.apk
-rwxrwxrwx 1 linarcx root 45823 Jan  1 11:19 cnfgtest.apk
Installing org.yourorg.cnfgtest
adb install -r cnfgtest.apk
Performing Push Install
cnfgtest.apk: 1 file pushed, 0 skipped. 2.5 MB/s (45823 bytes in 0.017s)
        pkg: /data/local/tmp/cnfgtest.apk

Notice that i set ANDROIDVERSION?=28 in Makefile.

dreua commented 3 years ago

Haven't seen that before, maybe it's worth asking on the discord server. Some things to check:

cnlohr commented 3 years ago

Definitely hit up the Discord server. Someone there may know. https://discord.gg/CCeyWyZ

LinArcX commented 3 years ago

I don't have discord and no interest to use it either.

zNoctum commented 3 years ago

The problem is that you compile your app with android 30 as target and want to deploy it on a android 23 phone so you just need to change ANDROIDVERSION to 23

frak0d commented 3 years ago

@dreua question should be closed as @zNoctum has provided the correct answer.