Add permission for debug apps

This commit is contained in:
Victor Shcherb 2018-05-02 22:06:06 +02:00
parent 7c275bd8ec
commit af83e79816
3 changed files with 9 additions and 1 deletions

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>
</manifest>

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>
<application
android:icon="@mipmap/icon_nightly"
tools:replace="android:icon">

View file

@ -97,6 +97,9 @@ android {
res.srcDirs = ["res"]
assets.srcDirs = ["assets"]
}
debug {
manifest.srcFile "AndroidManifest-debug.xml"
}
free {
manifest.srcFile "AndroidManifest-free.xml"
}