Answer the question
In order to leave comments, you need to log in
Why does an error occur when I try to open the live wallpaper settings?
Project on github
When I try to open the wallpaper settings, an error occurred in the "Live Wallpaper Catalog" application.
Android Studio does nothing.
I created an activity, added it to the manifest, added it here
<wallpaper xmlns:android="http://schemas.android.com/apk/res/android"
android:settingsActivity="ru.siniykv.simplelivewallpaper.SettingsActivity"
android:thumbnail="@drawable/ic_launcher"
android:description="@string/wallpaper_description"
/>
>> Открытие просмотра живых обоев
I/WallpaperService: engine created
I/WallpaperService: engine surface created
I/WallpaperService: engine surface changed
I/WallpaperService: engine resumed
I/AndroidInput: sensor listener setup
>> После попытки открыть настройки и закрытия диалогового окна ошибки
E/InputEventReceiver: channel '53354a2c ru.siniykv.simplelivewallpaper.SimpleLiveWallpaper (client)' ~ Publisher closed input channel or an error occurred. events=0x9
E/EGL_genymotion: tid 13611: swapBuffers(289): error 0x3003 (EGL_BAD_ALLOC)
A/libc: Fatal signal 11 (SIGSEGV) at 0x0000003c (code=1), thread 13611 (Thread-293)
Answer the question
In order to leave comments, you need to log in
Try changing this in your manifest <activity android:name=".SettingsActivity" />
to be like this
<activity android:name=".SettingsActivity" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question