閉じる

java.lang.NoSuchMethodError: No interface method a(Landroid/arch/lifecycle/h;Landroid/arch/lifecycle/e$a;)V in class Landroid/arch/lifecycle/GenericLifecycleObserver; or its super classes (declaration of ‘android.arch.lifecycle.GenericLifecycleObserver’ appears in /data/app/com.google.android.apps.mtaas.crawler-1/base.apk)

LifecycleObserverを導入後、Android Studioを 2.3.3から 3.0へ上げた辺りでリリース前レポートで報告されるようになった。 直接的な原因は Proguardによる難読化によって life…

java.lang.RuntimeException: Timed out while waiting for slave aapt process, make sure the aapt execute at aapt.exe can run successfully (some anti-virus may block it) or try setting environment variable SLAVE_AAPT_TIMEOUT to a value bigger than 5 seconds

Android Studioで実機デバッグしようとした時、たまに延々と gradleが動き続けているときがある。 java.exeを殺してみたら件のエラーが延々と繰り返されていたログが出力されていた。 メッセージの通り延…