2019-01-06 20:28:59.041 8164-8177/? E/memtrack: Couldn't load memtrack module2019-01-06 20:29:08.313 1692-1757/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 02019-01-06 20:29:26.888 1684-1696/? E/installd: Failed to delete /data/app/vmdl1817358704.tmp: No such file or directory2019-01-06 20:29:29.109 15556-15556/eu.birsan.adsensedoi E/AndroidRuntime: FATAL EXCEPTION: main Process: eu.birsan.adsensedoi, PID: 15556 java.lang.RuntimeException: Unable to start activity ComponentInfo{eu.birsan.adsensedoi/eu.birsan.adsensedoi.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2913) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3048) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:6669) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858) Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. at android.support.v7.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:555) at android.support.v7.app.AppCompatDelegateImpl.ensureSubDecor(AppCompatDelegateImpl.java:518) at android.support.v7.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:466) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140) at eu.birsan.adsensedoi.MainActivity.onCreate(MainActivity.java:16) at android.app.Activity.performCreate(Activity.java:7136) at android.app.Activity.performCreate(Activity.java:7127) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2893) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3048) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:6669) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858) 2019-01-06 20:29:56.613 1784-1784/? E/netmgr: Failed to open QEMU pipe 'qemud:network': Invalid argument2019-01-06 20:29:56.614 1784-1784/? E/netmgr: WifiForwarder unable to open QEMU pipe: Invalid argument2019-01-06 20:30:55.681 15788-15788/eu.birsan.calculatorcarburantro E/AndroidRuntime: FATAL EXCEPTION: main Process: eu.birsan.calculatorcarburantro, PID: 15788 java.lang.RuntimeException: Unable to start activity ComponentInfo{eu.birsan.calculatorcarburantro/eu.birsan.calculatorcarburantro.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2913) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3048) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:6669) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858) Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. at android.support.v7.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:555) at android.support.v7.app.AppCompatDelegateImpl.ensureSubDecor(AppCompatDelegateImpl.java:518) at android.support.v7.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:466) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140) at eu.birsan.calculatorcarburantro.MainActivity.onCreate(MainActivity.java:53) at android.app.Activity.performCreate(Activity.java:7136) at android.app.Activity.performCreate(Activity.java:7127) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2893) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3048) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:6669) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858) You need to use a Theme.AppCompat theme--
---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/69094089-4c32-454e-9de0-7009c052c361%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi and thanks a lot for your replay. I get this error only after I added an AdView and followed the instructions sent by email by AdMob. I created two more apps that contain only one element: one AdView and after I add the adview the app stop working even if I modified my files as instructed by email. I did not add any styles or anything , but I can't use AdMob because when I add an AdView on any app the app will stop working.
--
---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/e6a55098-1ce4-4bf3-afcd-3318af60fdba%40googlegroups.com.
I managed to solve the problem. I created a new app using API 21 instead of API15 that I was using before and the app was working after adding the adview and all code modifications. Second, I have recreated my original app (it was only a simple app) using API21 then added the adview and everything is working fine, now my app is on Play Store with ads. It seems that API15 is not supported .... ?
marți, 8 ianuarie 2019, 08:44:59 UTC+2, mobileadssdk-a...@google.com a scris:
Hi Daniel,Can you share with us the copy of your project so we can further investigate? You may share it privately using Reply privately to author option.Regards,Ivan BautistaMobile Ads SDK Team
On 01/07/19 19:07:00 dan...@birsan.eu wrote:
Hi and thanks a lot for your replay. I get this error only after I added an AdView and followed the instructions sent by email by AdMob. I created two more apps that contain only one element: one AdView and after I add the adview the app stop working even if I modified my files as instructed by email. I did not add any styles or anything , but I can't use AdMob because when I add an AdView on any app the app will stop working.--
---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsubscrib...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/e6a55098-1ce4-4bf3-afcd-3318af60fdba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/b259efcf-6cac-400f-ab1e-60b77518b1bc%40googlegroups.com.