hyzp_ybqx-Commit016:按以下方法修改AppID,但存放目錄不變,都是hyzp_ybqx。这样同一部手机可以同时安装多个不同区县的版本
// 5、修改AppID,但存放目錄不變,都是hyzp_ybqx // (1)、修改 R:\FlutterProject\FlutterProject51-hyzp_ybqx\hyzp_ybqx\pubspec.yaml 文件中的 // name: hyzp_ybqx00_yibin // (2)、右键项目名称 Refactor|rename|hyzp_ybqx00_yibin // (3)、全局替换: // A、将 “com.flutter.hyzp_ybqx00_yibin” 全部替换为 “com.flutter.hyzp_ybqx00_yibin00_yibin” // B、将 “package:hyzp_ybqx/” 全部替换为 “package:hyzp_ybqx00_yibin/” // C、将 “# hyzp_ybqx” 全部替换为 “# hyzp_ybqx00_yibin” // D、将 “<string>hyzp_ybqx</string>” 全部替换为 “<string>hyzp_ybqx00_yibin</string>”
This commit is contained in:
@@ -36,7 +36,7 @@ android {
|
||||
|
||||
defaultConfig {
|
||||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
||||
applicationId "com.flutter.hyzp_ybqx"
|
||||
applicationId "com.flutter.hyzp_ybqx00_yibin"
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 29
|
||||
versionCode flutterVersionCode.toInteger()
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
package="com.flutter.hyzp_ybqx">
|
||||
package="com.flutter.hyzp_ybqx00_yibin">
|
||||
<!-- * What went wrong:
|
||||
Execution failed for task ':app:generateDebugBuildConfig'.
|
||||
> org.xml.sax.SAXParseException; systemId: file:/R:/FlutterProject/FlutterProject33/hyzp_ybqx/android/app/src/main/AndroidManifest.xml; lineNumber: 69; columnNumber: 48; ��Ԫ
|
||||
@@ -37,7 +37,7 @@
|
||||
<!-- android:label="宜宾黑烟抓拍"-->
|
||||
<!-- android:label="宜宾市翠屏黑烟抓拍"-->
|
||||
<application
|
||||
android:name="com.flutter.hyzp_ybqx.MyApplication"
|
||||
android:name="com.flutter.hyzp_ybqx00_yibin.MyApplication"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:label="宜宾黑烟抓拍"
|
||||
android:networkSecurityConfig="@xml/network_security_config"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.flutter.hyzp_ybqx;
|
||||
package com.flutter.hyzp_ybqx00_yibin;
|
||||
|
||||
import io.flutter.embedding.android.FlutterActivity;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.flutter.hyzp_ybqx;
|
||||
package com.flutter.hyzp_ybqx00_yibin;
|
||||
|
||||
import com.baidu.flutter_bmfbase.BmfMapApplication;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.flutter.hyzp_ybqx">
|
||||
package="com.flutter.hyzp_ybqx00_yibin">
|
||||
<!-- Flutter needs it to communicate with the running application
|
||||
to allow setting breakpoints, to provide hot reload, etc.
|
||||
-->
|
||||
|
||||
Reference in New Issue
Block a user