- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
不幸的是,当我将项目运行到手机上时,我正在完美地处理我的项目,因为我将手机更新到 Android 12 时出现此错误:
Installation did not succeed.The application could not be installed: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
List of apks:[0] 'C:\Users\Microsoft\AndroidStudioProjects\YmmyServer\app\build\outputs\apk\debug\app-debug.apk'Installation failed due to: 'null'Retry
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.google.gms:google-services:4.3.10'
classpath 'com.android.tools.build:gradle:4.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
这是我的 build.gradle(Module) 文件:
plugins {
id 'com.android.application'
}
android {
compileSdkVersion 32
buildToolsVersion "30.0.3"
defaultConfig {
applicationId "com.example.ymmyserver"
minSdkVersion 30
targetSdkVersion 32
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
dependencies {
implementation 'com.github.jd-alexander:android-flat-button:v1.1'
// implementation 'info.hoang8f:fbutton:1.0.5'
implementation 'com.google.firebase:firebase-auth'
implementation 'com.google.firebase:firebase-storage'
implementation 'com.firebaseui:firebase-ui-database:8.0.0'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation "androidx.cardview:cardview:1.0.0"
implementation "androidx.recyclerview:recyclerview:1.2.1"
implementation 'com.rengwuxian.materialedittext:library:2.1.4'
implementation 'com.google.firebase:firebase-core:10.2.0'
implementation 'com.google.firebase:firebase-database'
implementation 'com.google.firebase:firebase-analytics'
implementation platform('com.google.firebase:firebase-bom:29.1.0')
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'com.google.android.material:material:1.5.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
implementation 'androidx.navigation:navigation-fragment:2.4.1'
implementation 'androidx.navigation:navigation-ui:2.4.1'
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.4.1'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
}
这是主要文件:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.ymmyserver">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.Ymmy">
<activity android:name=".FoodList"></activity>
<activity
android:name=".Home"
android:label="@string/title_activity_home"
android:theme="@style/Theme.Ymmy.NoActionBar"></activity>
<activity android:name=".SignIn" />
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
我该怎么办请帮助我
最佳答案
尝试在您的 AndroidManifest.xml
中使用此标签 Activity 文件
<activity
android:name=".MainActivity"
android:exported="true">
关于java - 当我将手机更新到 Android 12 时,安装没有成功。无法安装应用程序 : INSTALL_PARSE_FAILED_MANIFEST_MALFORMED,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71377448/
我正在制作一个应用程序,当我运行该应用程序时,我在运行期间遇到以下错误。 [2015-06-19 17:11:06 - Ecommerce] Installation error: [201
我尝试了一切,重命名包,更改权限等,但我仍然在我的控制台上看到错误 INSTALL_PARSE_FAILED_MANIFEST_MALFORMED。 我尝试从 logcat 登录,这就是它所说的“在
我查看了有关 INSTALL_PARSE_FAILED_MANIFEST_MALFORMED 的其他帖子,但仍然无法弄清楚我的特定 list 有什么问题。有什么建议吗?
这个问题在这里已经有了答案: Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED? (47 个回答) 关闭 6 年前。 安装失败并
我在运行我的应用程序后发生:pkg:/data/local/tmp/com.example.calculator.app失败 [INSTALL_PARSE_FAILED_MANIFEST_MALFOR
我有一个需要本地化的应用程序,两种语言是英语和阿拉伯语(ar),我已经为我的原始文件和值创建了各自的文件夹 原始ar 值(value)观-ar 添加值文件夹并添加相应的已翻译 strings.xml
我在安装应用程序时遇到奇怪的问题。 我已经创建了 Google Map V2 示例 并且运行良好。在所有成功之后,我已经将 JAVA -XML - Manifest 文件集成到我的旧项目中。 当我编译
我正在开发一个小应用程序,其中列出了 android 设备上存在/安装的所有应用程序。但是当我尝试运行代码时出现以下错误。 安装错误:INSTALL_PARSE_FAILED_MANIFEST_MAL
我不太确定如何解决此 list 。我有一个 Activity ,只有一个片段供引用,这只是Android Studio生成的 list 。
我在安装应用程序时遇到奇怪的问题。如果我在 Android 5.0 版本及更高版本上安装应用程序,则应用程序将安装并正常工作。但如果我在 4.4 或 4.2 等较低版本上安装应用程序,那么在安装时会出
我意识到这可能是一个重复的问题,我发现多个问题都在寻找相同的错误,但仍然无法解决问题。 我正在开发一个 Android 应用程序,目前只有一个 Activity (登录屏幕),当我尝试运行该应用程序时
我正在开发一个列出来自 mysql 服务器的数据的小型应用程序,但在尝试运行代码时出现以下错误。 安装错误:INSTALL_PARSE_FAILED_MANIFEST_MALFORMED 谁能帮我解决
我无法再运行我的应用程序,出现错误: Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED] 我在这里阅读了很多关于它的其他问题,但到目前为止我没有找到解决
这个问题在这里已经有了答案: Manifest merger failed targeting Android 12 (9 个回答) How to resolve "Missing PendingIn
好吧,所以我一直在寻找和寻找,没有找到任何帮助。当我启动 AVD 时,它说: No Launcher activity found! The launch will only sync the app
您好,我正在尝试使用 gcm,但无法使其正常工作。不知道我在哪里弄乱它,下面是我得到的错误。我正在尝试直接在设备上部署我的应用程序并从那里进行调试,但是当我尝试部署它时会出现此错误 Waiting f
最近我尝试将 Map Fragment 添加到我使用 Xamarin + MvvmCross 编写的 Monodroid 应用程序。当我根据映射指南之一修改 list 时 Google Maps in
我正在尝试测试我当前的源代码,它只包含几个没有监听器的按钮。只是为了检查我是否走对了路。我尝试在模拟器上运行我的应用程序,但出现错误 [2014-02-03 21:19:10 - EngClalc]
我遇到这个错误,无法让我在任何设备上安装 apk: Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED 这是我的 list :
我在尝试安装我的应用时遇到了 INSTALL_PARSE_FAILED_MANIFEST_MALFORMED 错误。 我已经了解了针对此堆栈溢出错误的所有可用解决方案。我的mainfest文件包名没有
我是一名优秀的程序员,十分优秀!