增加项目运行必读文件

This commit is contained in:
Lihongda 2024-02-14 15:54:52 +08:00
parent 0541a93301
commit a89f1d68da
2 changed files with 17 additions and 2 deletions

View File

@ -4,10 +4,15 @@
<facet type="android" name="Android"> <facet type="android" name="Android">
<configuration> <configuration>
<option name="SELECTED_BUILD_VARIANT" value="debug" /> <option name="SELECTED_BUILD_VARIANT" value="debug" />
<option name="ASSEMBLE_TASK_NAME" value="assembleDebug" />
<option name="COMPILE_JAVA_TASK_NAME" value="compileDebugSources" />
<afterSyncTasks>
<task>generateDebugSources</task>
</afterSyncTasks>
<option name="ALLOW_USER_CONFIGURATION" value="false" /> <option name="ALLOW_USER_CONFIGURATION" value="false" />
<option name="MANIFEST_FILE_RELATIVE_PATH" value="/src/main/AndroidManifest.xml" /> <option name="MANIFEST_FILE_RELATIVE_PATH" value="/src/main/AndroidManifest.xml" />
<option name="RES_FOLDER_RELATIVE_PATH" value="/src/main/res" /> <option name="RES_FOLDER_RELATIVE_PATH" value="/src/main/res" />
<option name="RES_FOLDERS_RELATIVE_PATH" value="" /> <option name="RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/../../../BageView/src/main/res;file://$MODULE_DIR$/../../../BageView/src/debug/res;file://$MODULE_DIR$/../../../BageView/build/generated/res/rs/debug;file://$MODULE_DIR$/../../../BageView/build/generated/res/resValues/debug" />
<option name="TEST_RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/../../../BageView/src/androidTest/res;file://$MODULE_DIR$/../../../BageView/src/androidTestDebug/res;file://$MODULE_DIR$/../../../BageView/build/generated/res/rs/androidTest/debug;file://$MODULE_DIR$/../../../BageView/build/generated/res/resValues/androidTest/debug" /> <option name="TEST_RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/../../../BageView/src/androidTest/res;file://$MODULE_DIR$/../../../BageView/src/androidTestDebug/res;file://$MODULE_DIR$/../../../BageView/build/generated/res/rs/androidTest/debug;file://$MODULE_DIR$/../../../BageView/build/generated/res/resValues/androidTest/debug" />
<option name="ASSETS_FOLDER_RELATIVE_PATH" value="/src/main/assets" /> <option name="ASSETS_FOLDER_RELATIVE_PATH" value="/src/main/assets" />
<option name="PROJECT_TYPE" value="1" /> <option name="PROJECT_TYPE" value="1" />
@ -30,5 +35,4 @@
<orderEntry type="jdk" jdkName="Android API 28 Platform" jdkType="Android SDK" /> <orderEntry type="jdk" jdkName="Android API 28 Platform" jdkType="Android SDK" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
</component> </component>
<component name="TestModuleProperties" production-module="ifish7.BageView.main" />
</module> </module>

11
项目运行必读 Normal file
View File

@ -0,0 +1,11 @@
1.注意下面的几个版本要对上
classpath 'com.android.tools.build:gradle:4.2.2'
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
2.在gitlab上添加自己的ssh
注意android studio - settings -Version Control - git -- 一定要勾选上use credential helper !!! 不然是无法push代码到gitlab的
3.android studio 版本不要太新,使用 2021.2.1 patch 2即可