Skip to content
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

Failed to build sketch previewer #135

Open
TheUltimateKrtek opened this issue Jun 15, 2024 · 3 comments
Open

Failed to build sketch previewer #135

TheUltimateKrtek opened this issue Jun 15, 2024 · 3 comments

Comments

@TheUltimateKrtek
Copy link

This has been mentioned here, but it was marked as complete and commented on as not enough information. #69

When running Preview sketch on APDE pre-0.5.2 on Android 14, it fails to build the Sketch Previewer app, simply returning
Failed to build sketch previewer.

I have three phones with the lastest updates:
Samsung Galaxy S9
Samsung Galaxy S21 Ultra
Samsung Galaxy S24 Ultra

Building Sketch Previewer fails on S21 and S24. Works on S9.
Building app fails on S24. Works on S21 and S9.

I currently can't check the OS, but I'll update this if needed.

@g-l-i-t-c-h-o-r-s-e
Copy link

Im having the same issue, however I took the sketch previewer app from an android 13 phone, transferred the apk and installed it to my Galaxy S24 Ultra; running android 14. Here's the verbose output:

Any ideas? @Calsign

Initializing build sequence…
Target: debug
Deleted old build folder
Pre-processing…
Writing AndroidManifest.xml…
Writing resources…
Injected log broadcaster
Copying Processing libraries…
Copying dexed Processing libraries…
Copying contributed libraries…
Detected architecture arm64-v8a
Available cores: 8
Copying AAPT…
Changing execution permissions for AAPT…
Copying GLSL shader files…

Packaging resources with AAPT…
/data/user/0/com.calsignlabs.apde/files/tmp/aapt[1]: syntax error: unexpected '���4�=��4'
AAPT failed with error code 1

@g-l-i-t-c-h-o-r-s-e
Copy link

g-l-i-t-c-h-o-r-s-e commented Oct 22, 2024

As a side note, an APDE app/apk built on android 13 will work in android 14

@g-l-i-t-c-h-o-r-s-e
Copy link

Here is an logcat file, showing what happens when I try to build sketch previewer on Android 14/Galaxy S24 Ultra...
Does @Calsign or anyone have any clues whats causing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants