-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
binding report: Different Sdk version #569
Comments
Beautiful binding report, filled out perfectly! The issue is due to this problem here below 👇
The error states that the elements in the original legit APK's manifest file that use
This is definitely a new one for me so I'll do some research on this and get back to you, there may be a workaround, there may not be, we'll see. I'll report back here once I have something |
Still doing research on this to see if there's a workaround I can implement. |
I was also trying to find some work around and i think following might be of some help: -
I tried changing the minimum and target android version in these files and separately compiled with apktool and it was successful. However there was parsing error while installing on android, i think due to signing issues. I could not find the way how the apktool.yml and AndroidManifest.xml are being created in decompiled folder. If there is a way that AhMyth can change these two files as per original apk, i think the issue would be solved. |
Im facing the same issue wehn binding instagram lite .. for boot method it build .. but for activity method it dosent build for same launcher icon need sdk26 issue ? How can i fix it |
Sorry guys I've got a very big workload ahead of me for the next release, I'll take a look at this as soon as possible. |
Keep it up sir thanks for all efforts .. i hope we see the realese soon .. god bless you |
Ok so i read more on this subject and i fixed my app .. the folder with apktool error contain adaptive icon in ic_launcher.xml .. i removed that file and grabbed icon form google rename it to ic_launcher.png then i build the apk but didn install cause its built with old sdk i changed sdk to minimum 26 and target can be till latest android .. then it work but only camera feature didn work and pics and videos not present in file explorer only folders .. also the pause app while not active is on by default in app settings .. not like the apps binded by ahmyth but its good start to have fixes.. that was my case .. the weird thing it bind successfully on boot method .. the one i made manually is for activity method and its working with instagram lite apk🙏🏼 |
Adaptive icons with .xml require min sdk of 26 while png icons works with old android maybe if you decompile instagram lite for both methods you can capture the differnect that dosent make it build well on activity method |
Ok now i noticed when you dont apply the correct sign version like v2 or v3 the app will not install on old sdk and on newer sdk camera feature so i changed sdk back to min 19 and target 22 and applied correct signing binded app is working fine 👍🏻 |
Found easier fix : in decompiled folder after binding failure .. rename folder mipmap-anydpi to mipmap-anydpi-v26 .. then it will build normally |
Lovely work my friend! Seems like you've found a workaround, I'll do some more research on this workaround and see if we can apply it multiple APK files, if we can, I'll integrate code responsible for applying this work around automatically during binding On Activity. |
Thanks sir i hope it work for all .. the issue is the sdk version .. aand when we build on newer sdk the permissions page dont show on start we need to enter app settings and give permission manually and camera feature dosent work even if permission on .. i hope there is a way to make permissions hiddenly auto granted and camera fixed on newer sdk that will be fun |
This because after Android 5.1, the Android Runtime Permissions Model was officially introduced as part of the Android System when Android 6.0 released. The permissions page you'll see when the SDK versions are set to
Due to background limitations introduced after android 5.1, features such as the camera and microphone requires the payload to be open. |
As for the icon problem, converting the XML vector drawable icon to PNG just simply won't work, however if we were to take AhMyth's icon and convert this from PNG to SVG, this would allow us to make an XML Vector Drawable equivalent of AhMyth's icon because once the PNG icon has been converted to SVG, it can then be converted to XML Vector Drawable. Doing this may allow AhMyth to utilise a higher SDK version as dirty fix. I'll look into this more |
It worked on my poco x3 nfc with my solution you just change the file name then build |
And you should sign with the correct signature of the original apk or it will not install |
Yes currently AhMyth utilises test keys for signing, it will utilise its own signing keys once the project reaches a stable release, once that happens it will also allow users the option to sign with their own keys as well. |
Payload Options
binding issue description
When binding to apk requiring android version 8+, error is being reported while binding
Error logs
Solution
No response
Additional context
No response
Acknowledgements
The text was updated successfully, but these errors were encountered: