2017-01-07 12 views
4

내 AdView를 탭한 다음 Play 스토어에 alibaba app 페이지를 열고 설치했습니다. 그 후 AdView를 탭할 때마다이 오류가 발생하고 앱이 다운되었습니다. 이 alibaba 앱을 제거한 후 광고를 탭하여 볼 수있었습니다.Admob 보안 예외 : 사용 권한 거부

이제 왜 이런 일이 발생했는지 궁금합니다.

Caused by java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.VIEW dat=https://www.googleadservices.com/... flg=0x10000000 cmp=com.alibaba.intl.android.apps.poseidon/com.alibaba.android.intl.weex.activity.WeexPageActivity } from ProcessRecord{800f07c 11735:com.figengungor.konuscevir/u0a452} (pid=11735, uid=10452) not exported from uid 10256 

여기 내 전체 충돌 보고서입니다 :

Exception java.lang.RuntimeException: Unable to start activity ComponentInfo{com.figengungor.konuscevir/com.google.android.gms.ads.AdActivity}: java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.VIEW dat=https://www.googleadservices.com/... flg=0x10000000 cmp=com.alibaba.intl.android.apps.poseidon/com.alibaba.android.intl.weex.activity.WeexPageActivity } from ProcessRecord{800f07c 11735:com.figengungor.konuscevir/u0a452} (pid=11735, uid=10452) not exported from uid 10256 
android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2726) 
android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2787) 
android.app.ActivityThread.-wrap12 (ActivityThread.java) 
android.app.ActivityThread$H.handleMessage (ActivityThread.java:1504) 
android.os.Handler.dispatchMessage (Handler.java:102) 
android.os.Looper.loop (Looper.java:154) 
android.app.ActivityThread.main (ActivityThread.java:6247) 
java.lang.reflect.Method.invoke (Method.java) 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:872) 
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:762) 
arrow_drop_down 
Caused by java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.VIEW dat=https://www.googleadservices.com/... flg=0x10000000 cmp=com.alibaba.intl.android.apps.poseidon/com.alibaba.android.intl.weex.activity.WeexPageActivity } from ProcessRecord{800f07c 11735:com.figengungor.konuscevir/u0a452} (pid=11735, uid=10452) not exported from uid 10256 
android.os.Parcel.readException (Parcel.java:1683) 
android.os.Parcel.readException (Parcel.java:1636) 
android.app.ActivityManagerProxy.startActivity (ActivityManagerNative.java:3141) 
android.app.Instrumentation.execStartActivity (Instrumentation.java:1520) 
android.app.Activity.startActivityForResult (Activity.java:4317) 
android.app.Activity.startActivityForResult (Activity.java:4276) 
android.app.Activity.startActivity (Activity.java:4600) 
android.app.Activity.startActivity (Activity.java:4568) 
com.google.android.gms.ads.internal.util.ac.a (:com.google.android.gms.DynamiteModulesA:1154) 
com.google.android.gms.ads.internal.overlay.a.a (:com.google.android.gms.DynamiteModulesA:93) 
com.google.android.gms.ads.internal.overlay.a.a (:com.google.android.gms.DynamiteModulesA:36) 
com.google.android.gms.ads.internal.overlay.m.a (:com.google.android.gms.DynamiteModulesA:366) 
com.google.android.gms.ads.internal.overlay.client.c.onTransact (:com.google.android.gms.DynamiteModulesA:58) 
android.os.Binder.transact (Binder.java:499) 
com.google.android.gms.b.ahc.a() 
com.google.android.gms.ads.AdActivity.onCreate() 
android.app.Activity.performCreate (Activity.java:6757) 
android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1119) 
android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2679) 
android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2787) 
android.app.ActivityThread.-wrap12 (ActivityThread.java) 
android.app.ActivityThread$H.handleMessage (ActivityThread.java:1504) 
android.os.Handler.dispatchMessage (Handler.java:102) 
android.os.Looper.loop (Looper.java:154) 
android.app.ActivityThread.main (ActivityThread.java:6247) 
java.lang.reflect.Method.invoke (Method.java) 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:872) 
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:762) 
+0

브라우저로 전화 할 때도 동일한 문제가 발생했지만 admob을 사용하지 않았습니다. – ashraful

답변

8

이 앱의 버그 아니지만, 이것은 "알리바바 B2B 무역"응용 프로그램의 버그입니다. 이 응용 프로그램의 APK에서 :

$ aapt l -a Alibaba\ com\ B2B\ Trade\ App_v4.15.1.apk | grep -A 17 WeexPageActivity 
     E: activity (line=1284) 
     A: android:theme(0x01010000)[email protected] 
     A: android:name(0x01010003)="com.alibaba.android.intl.weex.activity.WeexPageActivity" (Raw: "com.alibaba.android.intl.weex.activity.WeexPageActivity") 
     A: android:exported(0x01010010)=(type 0x12)0x0 
     A: android:screenOrientation(0x0101001e)=(type 0x10)0xffffffff 
     A: android:configChanges(0x0101001f)=(type 0x11)0x4a0 
     E: intent-filter (line=1290) 
      E: action (line=1291) 
      A: android:name(0x01010003)="android.intent.action.VIEW" (Raw: "android.intent.action.VIEW") 
      E: category (line=1293) 
      A: android:name(0x01010003)="android.intent.category.DEFAULT" (Raw: "android.intent.category.DEFAULT") 
      E: category (line=1294) 
      A: android:name(0x01010003)="com.alibaba.android.intl.category.WEEX" (Raw: "com.alibaba.android.intl.category.WEEX") 
      E: data (line=1296) 
      A: android:scheme(0x01010027)="http" (Raw: "http") 
      E: data (line=1297) 
      A: android:scheme(0x01010027)="https" (Raw: "https") 
      E: data (line=1298) 
      A: android:scheme(0x01010027)="file" (Raw: "file") 

같습니다 그들이 안 export 활동에 (AN 호스트를 지정하지 않고) HTTP/HTTPS/파일 계획 등록처럼. 따라서 이러한 계획 중 하나를 사용하여 의도를 시작하려고하는 모든 앱이 중단됩니다.

내 2 센트 : Android가 앱을 중단해서는 안되며,이 경우에는 안보이는 활동을 무시해야합니다.

자세한 내용 here. They've been notified이며 곧 앱을 고쳐야합니다.

+1

정보를 제공해 주셔서 감사합니다. 난 그냥 내 admob 애플 리케이션에서 해당 응용 프로그램 ID를 비활성화하지만, 응용 프로그램을 수동으로 설치하는 경우, 바이 바이 admob 수익. 멋지지 않은 알리바바. 시원하지 않아. –

+0

AdMob 광고를 클릭하면 예외가 발생합니다. 어떻게해야합니까? try-catch에서 어느 부분의 코드를 랩핑해야합니까? 감사. – iForests

+0

내 앱이 mxtech'com.mxtech.videoplayer.ad/com.mxtech.videoplayer.ActivityWebBrowser'의 원인이기도합니다. 언젠가 AdMob은 Android 7.0 이상 버전에서 앱을 안됩니다. –