• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

ASEC.CREATE error

DZA3615

Lurker
Hi,

I'm new to Android Development, and annoyingly need a new laptop to use the emulator (long story). Trying to run from Android Studio to a device, but getting the following error;

java.lang.SecurityException:Requires Android.Permission.ASEC_CREATE permission

Mentions about uninstalling the previous apk, but never ran it before and this came up.

I have some programming experience with java, C++, .Net etc.

Can anyone help?
 
This permission is required to allow your app to create internal storage.
Try adding the permission specifically to your AndroidManifest.xml

Code:
<uses-permission android:name="android.permission.ASEC_CREATE"/>
 
Back
Top Bottom