fix: 修复签名路径不正常导致无法编译的问题。

This commit is contained in:
Cold-Mint 2023-11-25 20:33:00 +08:00
parent 93221e5e1a
commit 297983ec75
12 changed files with 97 additions and 29 deletions

63
.gitignore vendored Normal file
View File

@ -0,0 +1,63 @@
# These are some examples of commonly ignored file patterns.
# You should customize this list as applicable to your project.
# Learn more about .gitignore:
# https://www.atlassian.com/git/tutorials/saving-changes/gitignore
# Node artifact files
node_modules/
dist/
# Compiled Java class files
*.class
# Compiled Python bytecode
*.py[cod]
# Log files
*.log
# Package files
*.jar
# Maven
target/
dist/
# JetBrains IDE
.idea/
# Unit test reports
TEST*.xml
# Generated by MacOS
.DS_Store
# Generated by Windows
Thumbs.db
# Applications
*.app
*.exe
*.war
# Large media files
*.mp4
*.tiff
*.avi
*.flv
*.mov
*.wmv
# Files for the Dalvik VM
*.dex
# Java class files
*.class
# Gradle build files
.gradle/
build/
release/
# Local configuration file (sdk path, etc)
local.properties

Binary file not shown.

View File

@ -5,7 +5,7 @@ plugins {
android { android {
signingConfigs { signingConfigs {
debug { debug {
storeFile file('F:\\muqing.jks') storeFile file('keys\\muqing.jks')
storePassword 'muqing153' storePassword 'muqing153'
keyAlias 'muqing' keyAlias 'muqing'
keyPassword 'muqing153' keyPassword 'muqing153'

BIN
app/keys/muqing.jks Normal file

Binary file not shown.

View File

@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="#000000"
android:viewportHeight="24" android:viewportWidth="24"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="@android:color/white" android:pathData="M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/>
</vector>

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"> android:orientation="vertical">
<androidx.appcompat.widget.Toolbar <androidx.appcompat.widget.Toolbar
@ -14,22 +14,24 @@
android:id="@+id/view" android:id="@+id/view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="1"/> android:layout_weight="1" />
<androidx.coordinatorlayout.widget.CoordinatorLayout <androidx.coordinatorlayout.widget.CoordinatorLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<com.google.android.material.bottomappbar.BottomAppBar <com.google.android.material.bottomappbar.BottomAppBar
android:id="@+id/bottomAppBar" android:id="@+id/bottomAppBar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="bottom" android:layout_gravity="bottom"
app:menu="@menu/bottom_app_bar"/> app:menu="@menu/bottom_app_bar" />
<com.google.android.material.floatingactionbutton.FloatingActionButton <com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/button" android:id="@+id/button"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:srcCompat="@drawable/ic_launcher_foreground" app:layout_anchor="@id/bottomAppBar"
app:layout_anchor="@id/bottomAppBar" /> app:srcCompat="@drawable/baseline_add_24" />
</androidx.coordinatorlayout.widget.CoordinatorLayout> </androidx.coordinatorlayout.widget.CoordinatorLayout>
</LinearLayout> </LinearLayout>

View File

@ -1,24 +1,24 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" <menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"> xmlns:app="http://schemas.android.com/apk/res-auto">
<item <!-- <item-->
android:id="@+id/accelerator" <!-- android:id="@+id/accelerator"-->
android:icon="@drawable/ic_launcher_foreground" <!-- android:icon="@drawable/ic_launcher_foreground"-->
android:title="@string/app_name" <!-- android:title="@string/app_name"-->
android:contentDescription="@string/app_name" <!-- android:contentDescription="@string/app_name"-->
app:showAsAction="ifRoom"/> <!-- app:showAsAction="ifRoom"/>-->
<item <!-- <item-->
android:id="@+id/rotation" <!-- android:id="@+id/rotation"-->
android:icon="@drawable/ic_launcher_foreground" <!-- android:icon="@drawable/ic_launcher_foreground"-->
android:title="@string/app_name" <!-- android:title="@string/app_name"-->
android:contentDescription="@string/app_name" <!-- android:contentDescription="@string/app_name"-->
app:showAsAction="ifRoom"/> <!-- app:showAsAction="ifRoom"/>-->
<item <!-- <item-->
android:id="@+id/dashboard" <!-- android:id="@+id/dashboard"-->
android:icon="@drawable/ic_launcher_foreground" <!-- android:icon="@drawable/ic_launcher_foreground"-->
android:title="@string/app_name" <!-- android:title="@string/app_name"-->
android:contentDescription="@string/app_name" <!-- android:contentDescription="@string/app_name"-->
app:showAsAction="ifRoom"/> <!-- app:showAsAction="ifRoom"/>-->
</menu> </menu>

View File

@ -1,10 +1,8 @@
## This file is automatically generated by Android Studio. ## This file must *NOT* be checked into Version Control Systems,
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file should *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration. # as it contains information specific to your local configuration.
# #
# Location of the SDK. This is only used by Gradle. # Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the # For customization when using a Version Control System, please read the
# header note. # header note.
sdk.dir=D\:\\sdk #Sat Nov 25 19:49:21 CST 2023
sdk.dir=E\:\\SDK\\Android