Skip to content

Commit

Permalink
upgrade some libs version, fix permission problem
Browse files Browse the repository at this point in the history
  • Loading branch information
huzongyao committed Nov 24, 2020
1 parent 4e1269b commit 65e2917
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 26 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
.DS_Store
/build
/captures
.cxx
8 changes: 4 additions & 4 deletions appgbc/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 29
compileSdkVersion 30

signingConfigs {
demokey {
Expand All @@ -14,9 +14,9 @@ android {
defaultConfig {
applicationId "nostalgia.appgbc"
minSdkVersion 15
targetSdkVersion 29
versionCode 1400
versionName "1.4.0"
targetSdkVersion 30
versionCode 1401
versionName "1.4.1"
resConfigs "zh"
ndk {
abiFilters 'armeabi-v7a', 'x86', 'arm64-v8a'
Expand Down
8 changes: 4 additions & 4 deletions appgg/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 29
compileSdkVersion 30

signingConfigs {
demokey {
Expand All @@ -14,9 +14,9 @@ android {
defaultConfig {
applicationId "nostalgia.appgg"
minSdkVersion 15
targetSdkVersion 29
versionCode 1400
versionName "1.4.0"
targetSdkVersion 30
versionCode 1401
versionName "1.4.1"
resConfigs "zh"
ndk {
abiFilters 'armeabi-v7a', 'x86', 'arm64-v8a'
Expand Down
8 changes: 4 additions & 4 deletions appnes/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 29
compileSdkVersion 30

signingConfigs {
demokey {
Expand All @@ -14,9 +14,9 @@ android {
defaultConfig {
applicationId "nostalgia.appnes"
minSdkVersion 15
targetSdkVersion 29
versionCode 1400
versionName "1.4.0"
targetSdkVersion 30
versionCode 1401
versionName "1.4.1"
resConfigs "zh"
ndk {
abiFilters 'armeabi-v7a', 'x86', 'arm64-v8a'
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.android.tools.build:gradle:3.6.2'
}
}

Expand Down
6 changes: 3 additions & 3 deletions framework/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ android {

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
api 'androidx.appcompat:appcompat:1.1.0'
api 'com.google.android.material:material:1.0.0'
api 'com.blankj:utilcode:1.25.9'
api 'androidx.appcompat:appcompat:1.2.0'
api 'com.google.android.material:material:1.2.1'
api 'com.blankj:utilcode:1.26.0'
}
13 changes: 4 additions & 9 deletions framework/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="nostalgia.framework">

<uses-feature
android:glEsVersion="0x00020000"
android:required="false" />

<uses-feature
android:name="android.hardware.touchscreen"
android:required="false" />

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
Expand All @@ -22,7 +15,9 @@
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme">
android:requestLegacyExternalStorage="true"
android:theme="@style/AppTheme"
tools:ignore="UnusedAttribute">

<activity
android:name=".ui.SplashActivity"
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip

0 comments on commit 65e2917

Please sign in to comment.