# I can't export wallpaper with APDE

**URL:** <https://discourse.processing.org/t/i-cant-export-wallpaper-with-apde/43549>\
**Category:** Processing for Android\
**Created:** [December 23, 2023, 3:06pm UTC](https://discourse.processing.org/t/i-cant-export-wallpaper-with-apde/43549 "2023-12-23T15:06:01Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![AniManOtaku](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/animanotaku/32/18733_2.png) [@AniManOtaku](https://discourse.processing.org/u/AniManOtaku)\
**Post date:** [December 23, 2023, 3:06pm UTC](https://discourse.processing.org/t/i-cant-export-wallpaper-with-apde/43549/1 "2023-12-23T15:06:01Z")

</div>

I can export it as an app, but not as live wallpaper, idk what’s wrong. I’m using MIUI android 8.

 ![Screenshot_2023-12-23-16-57-32-359_com.calsignlabs.apde](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/7/4/74261777c0f2ac768022be888cbc4c051b45ee1b.png)

thanks in advance!

---

<div class="post-metadata">

**Author:** ![AniManOtaku](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/animanotaku/32/18733_2.png) [@AniManOtaku](https://discourse.processing.org/u/AniManOtaku)\
**Post date:** [December 25, 2023, 6:00am UTC](https://discourse.processing.org/t/i-cant-export-wallpaper-with-apde/43549/2 "2023-12-25T06:00:29Z")

</div>

I enabled verbose output function in build settings and got this:

```auto
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

```

---

<div class="post-metadata">

**Author:** ![JeemzzFancier](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeemzzfancier/32/19144_2.png) [@JeemzzFancier](https://discourse.processing.org/u/JeemzzFancier)\
**Post date:** [December 25, 2023, 1:23pm UTC](https://discourse.processing.org/t/i-cant-export-wallpaper-with-apde/43549/3 "2023-12-25T13:23:18Z")

</div>

Hello guy, I am afraid that you have missed something necessary in your code.

 ![Screenshot_2023-12-25-21-14-44-23_2742f51b80086cbfc6af4e7ce6c483cb](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/5/a/5aa2af3f198ca9d5448d1b016e37662911874faf.jpeg)  
Firstly, maybe you need to put fullScreen() in setup() to init your wallpaper.  
Secondly, you had better run your code in the wallpaper mode to sure there is no error caused by the compiler itself.  
By the way, I am new to apde but I hope this would really help you:)  
Good luck(づ ●─● )づ

---

<div class="post-metadata">

**Author:** ![AniManOtaku](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/animanotaku/32/18733_2.png) [@AniManOtaku](https://discourse.processing.org/u/AniManOtaku)\
**Post date:** [December 25, 2023, 1:51pm UTC](https://discourse.processing.org/t/i-cant-export-wallpaper-with-apde/43549/4 "2023-12-25T13:51:25Z")

</div>

Well, ofc i checked that. And yeah i ran it in wallpaper mode, so it’s not a problem with my code.

 ![IMG_20231225_154800](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/7/5/752c69617b488e9ea275961bf1ed52ba5b6fe123.jpeg)

---

<div class="post-metadata">

**Author:** ![anon15123282](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@anon15123282](https://discourse.processing.org/u/anon15123282)\
**Post date:** [January 15, 2024, 4:15pm UTC](https://discourse.processing.org/t/i-cant-export-wallpaper-with-apde/43549/5 "2024-01-15T16:15:45Z")

</div>

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…?

---

<div class="post-metadata">

**Author:** ![AniManOtaku](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/animanotaku/32/18733_2.png) [@AniManOtaku](https://discourse.processing.org/u/AniManOtaku)\
**Post date:** [January 17, 2024, 5:55am UTC](https://discourse.processing.org/t/i-cant-export-wallpaper-with-apde/43549/6 "2024-01-17T05:55:24Z")

</div>

No, that’s not the problem, I’m still getting the error.

---

<div class="post-metadata">

**Author:** ![anon15123282](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@anon15123282](https://discourse.processing.org/u/anon15123282)\
**Post date:** [January 18, 2024, 4:46am UTC](https://discourse.processing.org/t/i-cant-export-wallpaper-with-apde/43549/7 "2024-01-18T04:46:54Z")

</div>

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 😁

---

<div class="post-metadata">

**Author:** ![AniManOtaku](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/animanotaku/32/18733_2.png) [@AniManOtaku](https://discourse.processing.org/u/AniManOtaku)\
**Post date:** [January 31, 2024, 10:33am UTC](https://discourse.processing.org/t/i-cant-export-wallpaper-with-apde/43549/8 "2024-01-31T10:33:43Z")

</div>

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.

 ![Screenshot_2024-01-31-12-28-34-264_com.calsignlabs.apde](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/7/0/7050c85ca47cda141df702cce8b42d4c6f3d2c53.png)

---

<div class="post-metadata">

**Author:** ![AniManOtaku](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/animanotaku/32/18733_2.png) [@AniManOtaku](https://discourse.processing.org/u/AniManOtaku)\
**Post date:** [January 31, 2024, 8:32pm UTC](https://discourse.processing.org/t/i-cant-export-wallpaper-with-apde/43549/11 "2024-01-31T20:32:29Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![alexcray](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@alexcray](https://discourse.processing.org/u/alexcray)\
**Post date:** [February 1, 2024, 5:24am UTC](https://discourse.processing.org/t/i-cant-export-wallpaper-with-apde/43549/13 "2024-02-01T05:24:07Z")

</div>

Make sure you’re using the latest version of APDE (or whatever software you’re using).

---

<div class="post-metadata">

**Author:** ![AniManOtaku](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/animanotaku/32/18733_2.png) [@AniManOtaku](https://discourse.processing.org/u/AniManOtaku)\
**Post date:** [February 1, 2024, 7:08pm UTC](https://discourse.processing.org/t/i-cant-export-wallpaper-with-apde/43549/14 "2024-02-01T19:08:13Z")

</div>

yeah im pretty sure i use the last version of APDE  
 ![IMG_20240201_210708](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/a/2/a22283a4c815d2a8232f0bf1756d8833c9e9cf1e.jpeg)
