You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the Notally app .apk file and followed the instructions. After changing the discord webhooks, it compiled successfully. I put the .apk file in the inject/APK folder, ran python -m inject, and it finished. However when I drag the folders from inject/Output to the APKTool and compile it, it gives this error:
[11:03:37] Building resources...
[11:03:57] ...\inject\Output\Notally\res\values\layouts.xml:3: error: invalid value for type 'layout'. Expected a reference.
[11:03:57] ...\inject\Output\Notally\res\values\layouts.xml:4: error: invalid value for type 'layout'. Expected a reference.
[11:03:57] ...\inject\Output\Notally\res\values\layouts.xml:5: error: invalid value for type 'layout'. Expected a reference.
[11:03:57] ...\inject\Output\Notally\res\values\layouts.xml:6: error: invalid value for type 'layout'. Expected a reference.
[11:03:57] ...\inject\Output\Notally\res\values\layouts.xml:7: error: invalid value for type 'layout'. Expected a reference.
[11:03:57] ...\inject\Output\Notally\res\values\layouts.xml:8: error: invalid value for type 'layout'. Expected a reference.
[11:03:57] ...\inject\Output\Notally\res\values\layouts.xml:9: error: invalid value for type 'layout'. Expected a reference.
[11:03:57] ...\inject\Output\Notally\res\values\layouts.xml:10: error: invalid value for type 'layout'. Expected a reference.
[11:03:57] ...\inject\Output\Notally\res\values\layouts.xml:11: error: invalid value for type 'layout'. Expected a reference.
[11:03:57] ...\inject\Output\Notally\res\values\layouts.xml:12: error: invalid value for type 'layout'. Expected a reference.
[11:03:57] ...\inject\Output\Notally\res\values\layouts.xml:13: error: invalid value for type 'layout'. Expected a reference.
[11:03:57] ...\inject\Output\Notally\res\values\layouts.xml:14: error: invalid value for type 'layout'. Expected a reference.
[11:03:57] ...\inject\Output\Notally\res\values\layouts.xml:15: error: invalid value for type 'layout'. Expected a reference.
[11:03:57] ...\inject\Output\Notally\res\values\layouts.xml:16: error: invalid value for type 'layout'. Expected a reference.
[11:03:57] ...\inject\Output\Notally\res\values\layouts.xml:17: error: invalid value for type 'layout'. Expected a reference.
[11:03:57] ...\inject\Output\Notally\res\values\layouts.xml:18: error: invalid value for type 'layout'. Expected a reference.
[11:03:57] ...\inject\Output\Notally\res\values\layouts.xml:19: error: invalid value for type 'layout'. Expected a reference.
[11:03:57] ...\inject\Output\Notally\res\values\layouts.xml:20: error: invalid value for type 'layout'. Expected a reference.
[11:03:57] ...\inject\Output\Notally\res\values\layouts.xml:21: error: invalid value for type 'layout'. Expected a reference.
[11:03:57] ...\inject\Output\Notally\res\values\layouts.xml:22: error: invalid value for type 'layout'. Expected a reference.
[11:03:57] brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [...\brut_util_Jar_4856795076241234279845401281250622954.tmp, compile, --dir, ...\inject\Output\Notally\res, --legacy, -o, ...\inject\Output\Notally\build\resources.zip]
[11:03:57] =====[ Error ]=====
[11:03:57] Compiling failed
[11:03:57] Time started: 11:01:27
[11:03:57] Time elapsed: 02:30
If I try to drag the .apk from inject/APK after pressing inject, it compiles without problems, but when I put it in a virtual device using Android Studio, the app stops immediately after opening.
Is there a fix, or what is the mistake I made?
The text was updated successfully, but these errors were encountered:
the injection can be hit or miss, I've thought of using kotlin for possible better merging, think it should work well on say Fdroid apps, works on spotify, it at leasts puts everything where it needs to go, you can try to open up any mentioned files with errors from logs in vs code or anything that could identify the section with the issue.
I used the Notally app .apk file and followed the instructions. After changing the discord webhooks, it compiled successfully. I put the .apk file in the
inject/APK
folder, ranpython -m inject
, and it finished. However when I drag the folders frominject/Output
to the APKTool and compile it, it gives this error:If I try to drag the .apk from
inject/APK
after pressing inject, it compiles without problems, but when I put it in a virtual device using Android Studio, the app stops immediately after opening.Is there a fix, or what is the mistake I made?
The text was updated successfully, but these errors were encountered: