ParkSangGwon / TedPermission

Easy check permission library for Android Marshmallow
1.74k stars 239 forks source link

Unable to find explicit activity class com.gun0912.tedpermission.TedPermissionActivity #33

Closed amaydiam closed 7 years ago

amaydiam commented 7 years ago

Hello, I use this on my Apps, but i get error android.content.ActivityNotFoundException: Unable to find explicit activity class {com.myapp.android/com.gun0912.tedpermission.TedPermissionActivity}; have you declared this activity in your AndroidManifest.xml

I used any Library. This problem occurs when the added tools: node = "replace" on the manifest, but if it is removed, I get an error manifest merge failed

so how to fix it ?

ParkSangGwon commented 7 years ago

@amaydiam If you use tools:node="replace", library's manifest will be ignore. I define TedPermissionActivity in library's manifest. you can use tools:node="merge”