I can export it as an app, but not as live wallpaper, idk what’s wrong. I’m using MIUI android 8.
thanks in advance!
I can export it as an app, but not as live wallpaper, idk what’s wrong. I’m using MIUI android 8.
thanks in advance!
I enabled verbose output function in build settings and got this:
Initializing build sequence…
Target: release
Deleted old build folder
Pre-processing…
Writing AndroidManifest.xml…
Writing resources…
Copying Processing libraries…
Copying dexed Processing libraries…
Copying contributed libraries…
Copying data folder…
Detected architecture armeabi-v7a
Available cores: 4
Copying AAPT…
Changing execution permissions for AAPT…
Copying GLSL shader files…
Packaging resources with AAPT…
/data/user/0/com.calsignlabs.apde/app_build/support-res/layout/abc_alert_dialog_button_bar_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:scrollIndicators from <ScrollView>
/data/user/0/com.calsignlabs.apde/app_build/support-res/layout/abc_alert_dialog_button_bar_material.xml: note: using v22 attributes; synthesizing resource processing.test.livewalpaper:layout/abc_alert_dialog_button_bar_material for configuration v22.
/data/user/0/com.calsignlabs.apde/app_build/support-res/layout/abc_screen_toolbar.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:touchscreenBlocksFocus from <android.support.v7.widget.ActionBarContainer>
/data/user/0/com.calsignlabs.apde/app_build/support-res/layout/abc_screen_toolbar.xml: note: using v21 attributes; synthesizing resource processing.test.livewalpaper:layout/abc_screen_toolbar for configuration v21.
/data/user/0/com.calsignlabs.apde/app_build/support-res/drawable/abc_ratingbar_indicator_material.xml:25: note: removing attribute http://schemas.android.com/apk/res/android:tileModeX from <bitmap>
/data/user/0/com.calsignlabs.apde/app_build/support-res/drawable/abc_ratingbar_indicator_material.xml: note: using v21 attributes; synthesizing resource processing.test.livewalpaper:drawable/abc_ratingbar_indicator_material for configuration v21.
/data/user/0/com.calsignlabs.apde/app_build/support-res/drawable/abc_ratingbar_material.xml:25: note: removing attribute http://schemas.android.com/apk/res/android:tileModeX from <bitmap>
/data/user/0/com.calsignlabs.apde/app_build/support-res/drawable/abc_ratingbar_material.xml: note: using v21 attributes; synthesizing resource processing.test.livewalpaper:drawable/abc_ratingbar_material for configuration v21.
/data/user/0/com.calsignlabs.apde/app_build/support-res/drawable/abc_ratingbar_small_material.xml:23: note: removing attribute http://schemas.android.com/apk/res/android:tileModeX from <bitmap>
/data/user/0/com.calsignlabs.apde/app_build/support-res/drawable/abc_ratingbar_small_material.xml: note: using v21 attributes; synthesizing resource processing.test.livewalpaper:drawable/abc_ratingbar_small_material for configuration v21.
/data/user/0/com.calsignlabs.apde/app_build/AndroidManifest.xml:1: error: Error: No resource found that matches the given name (at 'theme' with value '@style/Theme.AppCompat.Light.NoActionBar.FullScreen').
AAPT failed with error code 1
Hello guy, I am afraid that you have missed something necessary in your code.
how did you manage to have ‘settings’ and ‘setup’ in your sketch at the same time, without getting an error message from apde?
i can only have one of them, otherwise my code does not compile…
so i always only use ‘setup’ and all works fine (wallpaper too)…
weird…
so maybe try with ‘setup’ only…?
No, that’s not the problem, I’m still getting the error.
I had another look at your console output, and after some scrolling i stumbled onto this error:
/data/user/0/com.calsignlabs.apde/app_build/AndroidManifest.xml:1: error: Error: No resource found that matches the given name (at ‘theme’ with value ‘@style/Theme.AppCompat.Light.NoActionBar.FullScreen’).
Do you have an selfmade AndroidManifest.xml in your sketch folder by any chance?
Or are you trying to set a theme programmatically somewhere?
Does it work if you try to export a blank sketch (bare minimum) as wallpaper?
Or just post your code and i try to export the sketch on my end…
lots’a questions
Sorry for late response.
No i don’t have android Manifest in the sketch folder.
And im still getting the error even with blank sketch.
The problem is not with the Sketch Preview, but with exporting an app. What does that have to do with it? And yes, that didn’t help either.
Make sure you’re using the latest version of APDE (or whatever software you’re using).
yeah im pretty sure i use the last version of APDE