DiaKEM / dexcom-g7-apk-patcher

Dexcom G7 .apk patcher | ✅ AAPS Broadcasting ✅ Disable compatibility checks ✅ Enable Screenshots ✅ Decrease required android version
87 stars 30 forks source link

Build end with failure. #38

Closed osodebailar closed 1 year ago

osodebailar commented 1 year ago

After updating to new version with G7_1.4.0.3906 building ends with failure. See screen in atachment Screenshot from 2023-03-06 08-38-41

khskekec commented 1 year ago

Hi @osodebailar,

this seems apktool related but it is really strange that I do not run in such issue. I will check my state whether this xml attribute it is complaining about does exist.

Do you have other errors during patch application above?

Which system/OS are you using?

Kind regards

Selçuk

osodebailar commented 1 year ago

Hi @khskekec , The version before ( Dexcom G7_1.3.3.3527 ) works perfect. I am using an ubuntu linx Version 22.04.02 LTS. And no other errors occure while building. The dexcom apk a am using is Dexcom G7_1.4.0.3906_Apkpure

khskekec commented 1 year ago

Hey,

really interesting case. Can you try to use docker first before we dive deeper into this issue.

Kind regards

Selçuk

osodebailar commented 1 year ago

Hey,

really interesting case. Can you try to use docker first before we dive deeper into this issue.

Kind regards

Selçuk

With docker_build.sh it works !

khskekec commented 1 year ago

Strange - apktool officially only requires Java but it looks like that it takes at least aapt from $PATH.

The mentioned xml attribute exists since android 12. Is it possible that your Android sdk does not include this api level? If you are using Android studio it should be easy to check.

Kind regards Selçuk

osodebailar commented 1 year ago

On the linux machine where i build the patched apk is no android studio or something else present

khskekec commented 1 year ago

Hmm, now nothing make any sense. Docker also only relies on Java image and installs git in addition. Nothing more?! Unclean env is also not possible because build.sh will clean up everything before it runs. To be honest I have no clue what's going on on your system 🤔😐.

Let us wait for others having this issue and give as a hint why this is happening.