Activity Class {rcm.samapp/com.comp.android.ui....} Does Not Exist
I am trying to integrate react native and native android app. applicationId in apps build.gradle is rcm.samapp package in manifest tag is com.comp.android. Line 1 in SplashActivity
Solution 1:
You have some custom build variants with applicationIdSuffix
which are changing package name. You should set them as well in your run-android
command.
As far I understood, you need to run development
variant. So set --variant development
. applicationIdSuffix
in development
variant is .debug
. Specify it as --appIdSuffix debug
.
The full command for development
variant would be: react-native run-android --appId rcm.samapp --main-activity ui.SplashActivity --variant development --appIdSuffix debug
Post a Comment for "Activity Class {rcm.samapp/com.comp.android.ui....} Does Not Exist"