System UI has stopped message when I call camera.getPermissions on button tap
See original GitHub issueI’m developing an Android app and this is the tap listener for my button.
(tap)=getPermissions(args) {
camera.requestPermissions();
}
Every time I click on the button, I get an error message “System UI has stopped” on Android emulator!
- CLI: 3.1.3
- Cross-platform modules: 3.1.1
- Runtime: Android
- package.json:
"nativescript": {
"id": "org.nativescript.sampleApp",
"tns-android": {
"version": "3.1.1"
},
"tns-ios": {
"version": "3.1.0"
}
},
"dependencies": {
"@angular/animations": "~4.1.0",
"@angular/common": "~4.1.0",
"@angular/compiler": "~4.1.0",
"@angular/core": "~4.1.0",
"@angular/forms": "~4.1.0",
"@angular/http": "~4.1.0",
"@angular/platform-browser": "~4.1.0",
"@angular/router": "~4.1.0",
"font-awesome": "^4.7.0",
"nativescript-angular": "~3.1.0",
"nativescript-camera": "^3.0.1",
"nativescript-couchbase": "^1.0.18",
"nativescript-ngx-fonticon": "^2.2.3",
"nativescript-telerik-ui": "^3.0.4",
"nativescript-theme-core": "~1.0.2",
"reflect-metadata": "~0.1.8",
"rxjs": "^5.4.2",
"tns-core-modules": "^3.1.1",
"zone.js": "~0.8.2"
},
"devDependencies": {
"babel-traverse": "6.25.0",
"babel-types": "6.25.0",
"babylon": "6.17.4",
"lazy": "1.0.11",
"nativescript-dev-typescript": "~0.5.0",
"typescript": "~2.2.1"
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
How to Fix System UI Has Stopped Working on Android
If your Android phone's System UI stopped working, don't panic, you're not alone. ... Tap on the "Update" button for each app to...
Read more >Top 8 Ways to Fix System UI Has Stopped Issue on Android
We shall offer you eight solutions to fix the System UI has stopped issue on your phone in this post. System ui has...
Read more >How to Fix “Unfortunately, System UI has stopped” Error in ...
Re-start your device · end call power button · Press and hold the “Power” button until a menu appears. · Select “Power off“...
Read more >Fix Unfortunately System UI Not Responding with Pictures
All you have to do is press the Power button on your Android device and hold it till the options are displayed on...
Read more >How request permissions with Jetpack Compose?
Granted -> { Text("Camera permission Granted") } is PermissionStatus. ... screen recomposed //you can call it inside a button click without ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@NickIliev I used a different AVD and it works fine. Seems that AVD specifically has an issue. Thank you
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.