@isuru === yes, i know, that is a hint, but the error is not here, it is from your imports (see the line which explains the error); you are importing androidx why not “import android.support.v7.app.AppCompatActivity”? BTW what is your version of android mode? How have you modified the main activity? how have you imported your P5 sketch inside AS?
akenaton
6
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Will this bug fix for androidx | 2 | 673 | July 25, 2019 | |
| Sketch exported to Android Studio, cannot use in Multi-Fragment Scenario | 0 | 177 | January 17, 2022 | |
| Android Mode (AR) - Displaying PFragment and Android Fragment in same activity (Android Studio exported.) | 0 | 304 | January 18, 2022 | |
| Blepdroid Bluetooth BLE and FragmentManager Issue | 23 | 4105 | December 27, 2018 | |
| Android Studio: attempt to invoke virtual method on a null object reference | 9 | 8747 | June 4, 2019 |