Skip to content

Commit 8ae10ec

Browse files
feat: 重构项目并修复所有已知错误
1 parent 21ef93c commit 8ae10ec

86 files changed

Lines changed: 3021 additions & 862 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.idea/appInsightsSettings.xml

Lines changed: 26 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/deploymentTargetSelector.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/deviceManager.xml

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/kotlinc.xml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Key store

2.54 KB
Binary file not shown.

app/build.gradle.kts

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,32 @@ plugins {
33
}
44

55
android {
6-
namespace = "com.example.myapplication"
6+
namespace = "com.tensorhub.manifold"
77
compileSdk = 35
88

99
defaultConfig {
10-
applicationId = "com.example.myapplication"
10+
applicationId = "com.tensorhub.manifold"
1111
minSdk = 24
1212
targetSdk = 35
1313
versionCode = 1
1414
versionName = "1.0"
1515

1616
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
17-
}
1817

18+
// ✅ 注入 Manifest 占位符
19+
val amapApiKey: String? = project.findProperty("amap.api.key") as String?
20+
manifestPlaceholders["AMAP_API_KEY"] = amapApiKey ?: "PLEASE_SET_YOUR_OWN_KEY"
21+
ndk {
22+
abiFilters.addAll(listOf("armeabi-v7a", "arm64-v8a"))
23+
}
24+
}
1925
buildTypes {
2026
release {
2127
isMinifyEnabled = false
2228
proguardFiles(
2329
getDefaultProguardFile("proguard-android-optimize.txt"),
24-
"proguard-rules.pro"
30+
"proguard-rules.pro",
31+
"proguard-amap.pro"
2532
)
2633
}
2734
}
@@ -32,14 +39,15 @@ android {
3239
}
3340

3441
buildFeatures {
35-
viewBinding = true // 如果你使用 ViewBinding,可保留
42+
viewBinding = true
3643
}
3744
}
3845

3946
dependencies {
47+
implementation("com.squareup.okhttp3:okhttp:4.10.0")
48+
implementation ("androidx.appcompat:appcompat:1.6.1")
4049
// ✅ 高德地图 SDK
4150
implementation("com.amap.api:3dmap:9.8.3")
42-
4351
// ✅ Google 官方库
4452
implementation(libs.appcompat)
4553
implementation(libs.material)

app/release/app-release.apk

32 MB
Binary file not shown.
2.24 KB
Binary file not shown.
2.19 KB
Binary file not shown.

0 commit comments

Comments
 (0)