mapbox / react-native-mapbox-ar

Location based augmented reality components using React Native, Viro and Mapbox
MIT License
225 stars 46 forks source link

Activity class does not exist. #19

Open konrad-marzec opened 5 years ago

konrad-marzec commented 5 years ago

Installing APK 'react-native-vector-icons-debug-androidTest.apk' on 'Pixel_2_XL_API_28(AVD) - 9' for react-native-vector-icons:debugAndroidTest Installed on 1 device.

BUILD SUCCESSFUL

Total time: 29.091 secs Running adb -s emulator-5554 reverse tcp:8081 tcp:8081 Starting the app on emulator-5554 (adb -s emulator-5554 shell am start -n com.rnmapboxardemo/com.rnmapboxardemo.MainActivity)... Starting: Intent { cmp=com.rnmapboxardemo/.MainActivity } Error type 3 Error: Activity class {com.rnmapboxardemo/com.rnmapboxardemo.MainActivity} does not exist.

pm0u commented 5 years ago

just received this same error as well, any resolution?

michael-matias commented 5 years ago

Use this variant: react-native run-android --variant=gvrDebug

francorobles commented 5 years ago

Use this variant: react-native run-android --variant=gvrDebug

App is stock in loading from localhost:8081

francorobles commented 5 years ago

Solved this by doing the following:

  1. remove node_modules
  2. use yarn from root and inside the sample app RNMapboxARDemo
  3. react-native run-android --variant=gvrDebug