File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -98,16 +98,17 @@ android {
9898 buildToolsVersion " 26.0.2"
9999
100100 defaultConfig {
101- applicationId " com.pushdemo "
101+ applicationId " com.test.josh " // 替换包名:
102102 minSdkVersion 16
103103 targetSdkVersion 23
104104 versionCode 1
105105 versionName " 1.0"
106+
106107 ndk {
107108 abiFilters " armeabi-v7a" , " x86"
108109 }
109110 manifestPlaceholders = [
110- JPUSH_APPKEY : " d4ee2375846bc30fa51334f5 " , // 在此替换你的APPKey
111+ JPUSH_APPKEY : " 7b4b94cca0d185d611e53cca " , // 在此替换你的APPKey
111112 APP_CHANNEL : " developer-default" // 应用渠道号
112113 ]
113114 }
@@ -141,11 +142,12 @@ android {
141142}
142143
143144dependencies {
144- compile fileTree(include : [' *.jar' ], dir : ' libs' )
145- api project(' :jpush-react-native' )
146- api project(' :jcore-react-native' )
147- compile ' com.android.support:appcompat-v7:25.3.1'
148- compile ' com.facebook.react:react-native:+'
145+
146+ implementation fileTree(include : [' *.jar' ], dir : ' libs' )
147+ implementation project(' :jcore-react-native' )
148+ implementation project(' :jpush-react-native' )
149+ implementation ' com.android.support:appcompat-v7:25.3.1'
150+ implementation ' com.facebook.react:react-native:+'
149151 // From node_modules
150152}
151153
You can’t perform that action at this time.
0 commit comments