<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="sam.gymnotes" >
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/NoActionBar" >
<meta-data
android:name="com.google.android.gms.version"
/>
<activity
android:name=".activity_ExcersiseView"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".dialog_new_excersise"
android:label="dialog_new_excersise"
android:theme="@style/Theme_Dialog" >
</activity>
<activity
android:name=".activity_IconChooser"
android:label="@string/title_activity_icon_chooser" >
</activity>
<activity
android:name=".activity_WorkoutView"
android:label="@string/title_activity_activity__workout_view" >
</activity>
<activity
android:name=".dialog_are_you_sure"
android:label="@string/title_activity_dialog_are_you_sure"
android:theme="@style/Theme_Dialog" >
</activity>
<activity
android:name=".activity_SetView"
android:label="@string/title_activity_activity__set_view" >
</activity>
<activity
android:name=".dialog_edit_workout"
android:label="@string/title_activity_dialog_date_picker"
android:theme="@style/Theme_Dialog" >
</activity>
<activity
android:name=".dialog_new_set"
android:label="@string/title_activity_dialog_new_set"
android:theme="@style/Theme_Dialog" >
</activity>
<activity
android:name=".dialog_edit_note"
android:label="@string/title_activity_dialog_edit_note"
android:theme="@style/Theme_Dialog" >
</activity>
<activity
android:name=".dialog_3option"
android:label="@string/title_activity_dialog_convert"
android:theme="@style/Theme_Dialog" >
</activity>
<activity
android:name=".activity_Info"
android:label="@string/title_activity_info" >
</activity>
</application>
</manifest>
Die oben ist meine Manifest-Datei, ich habe hier für ein fehlerhaftes manifest durch zahlreiche Antworten gegangen, und ich kann nicht herausfinden, was das Problem ist. Was verursacht den "Fehler bei der Installation von APK". Ich bekomme alles, wenn sie versuchen zu laufen istFehler [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]
Pkg: /data/local/tmp/sam.gymnotes Fehler [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]
gradle;
apply plugin: 'com.android.application'
android {
compileSdkVersion 24
buildToolsVersion '24.0.0'
defaultConfig {
applicationId "sam.gymnotes"
minSdkVersion 14
targetSdkVersion 24
versionCode 4
versionName "1.1"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:24.0.0'
compile 'com.android.support:design:24.0.0'
compile 'com.google.android.gms:play-services:9.2.0'
}
Sie jede lib 3rd-Party verwendet? es kann durch andere lib geschehen. – comeback4you
Sind deine Aktivitäten wirklich so benannt? 'dialog_edit_note'? Sie sollten Upper- und Camelcase sein. – dipdipdip
@dipdipdip .. oder CamelCase - dachte ich würde sagen, wie Sie kritisierten :) –