im new here (at Stackoverflow and programming android) and just gotten an error thats not covered in my education books etc. Maybe you could cover it, i would be very happy:). Something went wrong with my Manifest thats covered in app->search->main. Heres the Code. One Error is Android Studio showing me at line 92: cause theres no constructor but i guess thats not neccessary.. (i got this error to when i want to install it even when i delete this).
So here it is :
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.plaetzmueller.yourworkoutplanner">
<!-- To auto-complete the email text field in the login form with the user's emails -->
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.READ_PROFILE" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<application
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:supportsRtl="true"
android:theme="#style/AppTheme">
<activity
android:name=".LoginScreen"
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=".HomeActivity" />
<activity android:name=".ActiveWorkout"
android:label="#string/ActiveWorkout"
android:parentActivityName=".HomeActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HomeActivity" />
</activity>
<activity android:name=".AddAWorkoutScreen"
android:label="#string/AddWorkoutPlan"
android:parentActivityName=".HomeActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"/>
</activity>
<activity android:name=".Excercises"
android:label="#string/Excercises"
android:parentActivityName=".HomeActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HomeActivity"/>
</activity>
<activity android:name=".ProgressScreen"
android:label="#string/Progress"
android:parentActivityName=".HomeActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HomeActivity"/>
</activity>
<activity android:name=".VideoScreen"
android:label="#string/Videos"
android:parentActivityName=".HomeActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HomeActivity"/>
</activity>
<activity android:name=".FriendList"
android:label="#string/Friends"
android:parentActivityName=".HomeActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HomeActivity" />
</activity>
<activity android:name=".TrophyActivity"
android:label="#string/Trophys"
android:parentActivityName=".HomeActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HomeActivity"/>
</activity>
<activity android:name=".SeeMoreActivity"
android:label="#string/SeeMore"
android:parentActivityName=".HomeActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HomeActivity"/>
</activity>
<activity android:name=".SQLHelper" />
<activity android:name=".VideoScreenNutrion" />
<activity android:name=".VideoScreenExerciseExecution" />
<activity android:name=".VideoScreenStretchingAndWarmingUp" />
<activity android:name=".VideoScreenHowTo"></activity>
</application>
</manifest>
Please check that classes which you've registered as activities really extend Activity. At least I'd be surprised if .SQLHelper is instance of Activity. Than remove all redundant declarations.
Related
I am developing a small application that lists data from mysql sever But I'm getting the below error while i'm trying to run the code.
Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
Please can any one help me to sort out this error.
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.kosalgeek.android.androidphpmysql">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<application
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:supportsRtl="true"
android:theme="#style/AppTheme"
tools:replace="#android:icon">
<activity
android:name=".ListActivity"
android:label="#string/title_activity_list"
android:theme="#style/AppTheme.NoActionBar">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
/>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".DetailActivity"
android:label="#string/title_activity_detail"
android:parentActivityName=".ListActivity"
android:theme="#style/AppTheme.NoActionBar">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.kosalgeek.android.androidphpmysql.ListActivity" />
</activity>
<activity
android:name=".InsertActivity"
android:label="#string/title_activity_insert"
android:parentActivityName=".ListActivity"
android:theme="#style/AppTheme.NoActionBar">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.kosalgeek.android.androidphpmysql.ListActivity" />
</activity>
</application>
</manifest>
Try
1) removing all android:parentActivityName=".ListActivity" attributes
2) removing all
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.kosalgeek.android.androidphpmysql.ListActivity" />
When I pressed home button on my android device, my app should appear on recent app but I can't see it.
And this is my manifest file :
<?xml version="1.0" encoding="utf-8"?>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<application
android:name="com.hu.restaurantfinalproject.graduationProject.Libraries_Classes.AppController"
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:theme="#style/AppTheme" >
<activity
android:name="com.hu.restaurantfinalproject.graduationProject.Activities.getDataItems"
android:label="#string/app_name" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.hu.restaurantfinalproject.graduationProject.Activities.FilterActivity" />
</activity>
<activity
android:name="com.hu.restaurantfinalproject.graduationProject.Activities.AddR"
android:label="#string/title_activity_add_r" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.hu.restaurantfinalproject.graduationProject.Activities.getDataItems" />
</activity>
<activity
android:name="com.hu.restaurantfinalproject.graduationProject.Activities.RatingAndComment"
android:label="#string/title_activity_rating_and_comment" >
</activity>
<activity
android:name="com.hu.restaurantfinalproject.graduationProject.Activities.FilterActivity"
android:label="#string/title_activity_filter"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.hu.restaurantfinalproject.graduationProject.Activities.AddL"
android:label="#string/title_activity_add_lawyer" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.hu.restaurantfinalproject.graduationProject.Activities.getDataItems" />
</activity>
<activity
android:name="com.hu.restaurantfinalproject.graduationProject.Activities.ShowFullImageItem"
android:label="#string/title_activity_show_full_image_item" />
<activity
android:name="com.hu.restaurantfinalproject.graduationProject.Activities.AddD"
android:label="#string/title_activity_add_doctor" >
</activity>
</application>
Please help!
When I pressed home button on my android device, my app should appear on recent app but I can't see it.
Be sure that your android:label="#string/title_activity_filter" is defined properly.
i'm developing an android app, this app generate text files that contains a Json string, the files are saved using .fr extension.
What i want is that when the user open a file with .fr extension the system run my app.
I read other similar questions in stack and i add an intent filter in my manifest.xml, but it don't run.
If i try to open a file with fr extension android don't show my app in the list.
I try to make this with txt file, is the same problem.
I ask you why it don't run and if i will fix the problem how can i read the file.
thanks.
here my manifest:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.myapp"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="21" />
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:screenOrientation="portrait"
android:theme="#style/MyTheme" >
<activity
android:name=".Main"
android:screenOrientation="portrait"
android:label="#string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter >
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="application/fr" />
</intent-filter>
</activity>
<activity android:name=".Settings"
android:label="Settings"
android:screenOrientation="portrait"
android:parentActivityName=".Main">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Main"/>
</activity>
<activity android:name=".Archivio"
android:label="Archivio"
android:screenOrientation="portrait"
android:parentActivityName=".Main">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Main"/>
</activity>
<activity android:name=".Info"
android:label="Info"
android:screenOrientation="portrait"
android:icon="#drawable/ic_action_about"
android:parentActivityName=".Main">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Main"/>
</activity>
<activity android:name=".Training"
android:label="Allenamento"
android:screenOrientation="portrait"
android:parentActivityName=".Archivio">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Main"/>
</activity>
<activity android:name=".GraficoTempoElevazione"
android:label="Allenamento"
android:screenOrientation="portrait"
android:parentActivityName=".Archivio">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Main"/>
</activity>
<activity android:name=".GraficoTempoPasso"
android:label="Allenamento"
android:screenOrientation="portrait"
android:parentActivityName=".Archivio">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Main"/>
</activity>
<activity android:name=".GraficoTempoVelocita"
android:label="Allenamento"
android:screenOrientation="portrait"
android:parentActivityName=".Archivio">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Main"/>
</activity>
<activity android:name=".GraficoDistanzaElevazione"
android:label="Allenamento"
android:screenOrientation="portrait"
android:parentActivityName=".Archivio">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Main"/>
</activity>
<activity android:name=".GraficoDistanzaPasso"
android:label="Allenamento"
android:screenOrientation="portrait"
android:parentActivityName=".Archivio">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Main"/>
</activity>
<activity android:name=".GraficoDistanzaVelocita"
android:label="Allenamento"
android:screenOrientation="portrait"
android:parentActivityName=".Archivio">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Main"/>
</activity>
<activity android:name=".GpsTest"
android:screenOrientation="portrait"
android:label="#string/stringGPS" >
</activity>
<service android:name=".LocationLoggerService">
</service>
</application>
<uses-permission
android:name="android.permission.ACCESS_FINE_LOCATION" />
</manifest>
My old phone is Samsung galaxy sgh-t959. I installed it directly from eclipse and it works fine. When I upload it to Google play developer console it says that my phone is not compatible. Then, I checked my manifest file and is good. I checked my project.properties not sure if that's the problem because it uses android-19, but how come it works directly from eclipse?
here is my manifest code:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.drakeillusion.yao"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="7"
android:targetSdkVersion="18" />
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/AppTheme" >
<activity android:name="com.example.yao.about"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.am"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.dbm"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.editdeckedit"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.modifydeckedit"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.dm"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.home"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.homedeckedit"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.homedeletedeckedit"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.homeeditdeckedit"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.homenewdeckedit"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.MainActivity"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.newdeckedit"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.om"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.viewdeckeditdeck"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.viewdetailmonsters"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.viewdetailmonstersextra"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.viewdetailmonstersside"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.resultsearch"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.viewdeckeditdeck2CLEAR"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.viewdetailmonsters2CLEAR"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.viewdetailmonstersextra2CLEAR"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.viewdetailmonstersside2CLEAR"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.viewdeckeditdeck2MODIFY"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.viewdetailmonsters2MODIFY"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.viewdetailmonstersextra2MODIFY"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.viewdetailmonstersside2MODIFY"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.TextPopupActivity"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.templateactivity"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.HelloTabActivity"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.TestPopupActivity"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.deletedeckedit"/>
<activity android:name="com.example.yao.proprestict" />
<activity android:name="com.example.yao.FrameLayoutBody" />
<activity android:name="com.example.yao.loadingtask" />
<activity android:name="com.example.yao.RecipesDataSource" />
<activity android:name="com.example.yao.RecipesDataSourceAdaptor" />
<activity android:name="com.example.yao.RecipesDataSourceContent" />
<activity android:name="com.example.yao.poprestict" />
<activity android:name="com.example.yao.YAOhomedeckedit" android:screenOrientation="portrait"/>
<!-- tables -->
<activity android:name="com.example.yao.YAODeckList" />
<activity android:name="com.example.yao.YAODeckHieraticBlue" />
<activity android:name="com.example.yao.YAODeckDragonGod" />
<activity android:name="com.example.yao.YAODeckKingChaos" />
<!-- DATABASE HELPER AND SQL QUERIES -->
<activity android:name="com.example.yao.YAOMySQLiteHelper" />
<activity android:name="com.example.yao.YAODeckListDataSource" />
<activity android:name="com.example.yao.YAOGetDataSource2" />
<activity android:name="com.example.yao.deckedit"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<!-- DETAIL EXPANATION OF THE CARD -->
<activity android:name="com.example.yao.CardDetail"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.zCardDetail"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<!-- CUSTOME LISTVIEW IMAGEVIEW, TEXT AND MORE -->
<activity android:name="com.example.yao.zCustomListActivity"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.zCustomeUsersAdapter" />
<activity android:name="com.example.yao.XCustomListActivity"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.example.yao.XCustomeUsersAdapter" />
<activity android:name="com.example.yao.zresultsearch" />
<activity android:name="com.example.yao.actualeditdeck" />
<activity android:name="com.example.yao.zactualeditdeck" />
<activity android:name="com.example.yao.MainActivity2" />
<!-- lOADING BAR SCREEN -->
<activity android:name="com.example.yao.AddorDeleteCardMenu"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="landscape">
</activity>
<!-- method 2 Services for expansion files downloads -->
<activity android:name="com.example.yao.SplashActivity" android:theme="#android:style/Theme.NoTitleBar.Fullscreen" android:screenOrientation="landscape" />
<activity android:name="com.example.yao.EHShowCase" />
<activity android:name="com.example.yao.EHVideoPlayer" android:theme="#android:style/Theme.NoTitleBar.Fullscreen" android:screenOrientation="landscape" />
<activity android:name="com.example.yao.EHImageViewer" android:theme="#android:style/Theme.NoTitleBar.Fullscreen" android:screenOrientation="landscape" />
<service android:name="com.example.yao.EHDownloaderService" />
<receiver android:name="com.example.yao.EHDownloadBroadcastReceiver" />
<provider android:name="com.example.yao.EHZipUriProvider" android:authorities="com.example.yao.EHZipUriProvider" />
<activity android:name="com.example.yao.MyTabActivity"
android:theme="#style/CustomTheme"/>
<!-- MAIN CLASS CALLING (THE FIRST THING IS CALLED WHEN LOADING) -->
<activity
android:name="com.example.yao.EHExpansionFiles"
android:label="#string/app_name"
android:theme="#android:style/Theme.NoTitleBar"
android:screenOrientation="portrait"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- method 1 Services for expansion files downloads -->
<service android:name="com.example.yao.ExpansionFileDownloaderService" android:label="#string/app_name" />
<receiver android:name="com.example.yao.ExpansionFileAlarmReceiver" android:label="#string/app_name" />
</application>
<!-- Required for exapnsion files -->
<!-- Required to access Google Play Licensing -->
<uses-permission android:name="com.android.vending.CHECK_LICENSE" />
<!-- Required to download files from Google Play -->
<uses-permission android:name="android.permission.INTERNET" />
<!-- Required to keep CPU alive while downloading files
(NOT to keep screen awake) -->
<uses-permission android:name="android.permission.WAKE_LOCK" />
<!-- Required to poll the state of the network connection
and respond to changes -->
<uses-permission
android:name="android.permission.ACCESS_NETWORK_STATE" />
<!-- Required to check whether Wi-Fi is enabled -->
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<!-- Required to read and write the expansion files on shared storage -->
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</manifest>
There are a number of things you can try here.
What version of the Android OS does your phone run? Upgrade to the latest
Try using the latest platform version (21 as at time of writing).
change the TargetSDKVersion to the latest platform version
android:targetSdkVersion="21"
Try installing the app on a friend's phone to see if you get the same problem
I'm getting this error while trying to upload my APK to Google Play:
Your APK cannot be analyzed using 'aapt dump badging'. Error output:
Failed to run aapt dump badging:
W/ResourceType( 4731): Failure getting entry for 0x7f0b0002 (t=10 e=2) (error -75)
ERROR getting 'android:icon' attribute: attribute is not a string value
I read this and the Google Support page but it seems different because mine is android:icon instead of android:value.
It's important that I get this update out so any help is appreciated.
For reference, and because my app is open source, I'm posting my full manifest file as well:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.andrewq.planets" >
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="com.android.vending.BILLING" />
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/AppTheme"
android:value="true">
<!-- Main Activity -->
<activity
android:name=".MainActivity"
android:label="#string/app_name"
android:screenOrientation="sensor"
android:theme="#style/Roboto" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.intent.action.SEARCH" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- Settings Activity -->
<activity
android:name=".Settings"
android:label="#string/action_settings"
android:parentActivityName=".Settings"
android:screenOrientation="sensor"
android:theme="#style/Roboto" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGalleryActivity" />
<intent-filter>
<action android:name="android.intent.action.ImageGallery" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<!-- Earth Moon Activity -->
<activity
android:name=".SatelliteEarth"
android:label="Moon"
android:parentActivityName=".SatelliteEarth"
android:screenOrientation="sensor"
android:theme="#style/Theme.TranslucentActionBar.ActionBar.Overlay" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGalleryActivity" />
<intent-filter>
<action android:name="android.intent.action.ImageGallery" />
<action android:name="android.intent.action.SEARCH" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<!-- Phobos Activity -->
<activity
android:name=".Phobos"
android:label="Phobos"
android:parentActivityName=".Phobos"
android:screenOrientation="sensor"
android:theme="#style/Theme.TranslucentActionBar.ActionBar.Overlay" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGalleryActivity" />
<intent-filter>
<action android:name="android.intent.action.ImageGallery" />
<action android:name="android.intent.action.SEARCH" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".PhobosImageView"
android:label="Phobos"
android:parentActivityName=".MarsActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.MarsActivity" />
</activity>
<!-- Deimos Activity -->
<activity
android:name=".Deimos"
android:label="Deimos"
android:parentActivityName=".Deimos"
android:screenOrientation="sensor"
android:theme="#style/Theme.TranslucentActionBar.ActionBar.Overlay" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGalleryActivity" />
<intent-filter>
<action android:name="android.intent.action.ImageGallery" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".DeimosImageView"
android:label="Phobos"
android:parentActivityName=".MarsActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.MarsActivity" />
</activity>
<!-- Moon Activity -->
<activity
android:name=".MoonImageView"
android:label="Moon"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.EarthActivity" />
</activity>
<!-- Sun Image View -->
<activity
android:name=".SunImageView"
android:label="Sun"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<!-- Sun Activity -->
<activity
android:name=".SunActivity"
android:label="Sun"
android:parentActivityName=".MainActivity"
android:theme="#style/Theme.TranslucentActionBar.ActionBar.Overlay" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<!-- Mercury Image View -->
<activity
android:name=".MercuryImageView"
android:label="Mercury"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<!-- Mercury Activity -->
<activity
android:name=".MercuryActivity"
android:label="Mercury"
android:parentActivityName=".MainActivity"
android:theme="#style/Theme.TranslucentActionBar.ActionBar.Overlay" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<!-- Venus Image View -->
<activity
android:name=".VenusImageView"
android:label="Venus"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<!-- Venus Activity -->
<activity
android:name=".VenusActivity"
android:label="Venus"
android:parentActivityName=".MainActivity"
android:theme="#style/Theme.TranslucentActionBar.ActionBar.Overlay" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<!-- Earth Image View -->
<activity
android:name=".EarthImageView"
android:label="Earth"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<!-- Earth Image View -->
<activity
android:name=".EarthActivity"
android:label="Earth"
android:parentActivityName=".MainActivity"
android:theme="#style/Theme.TranslucentActionBar.ActionBar.Overlay" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<!-- Mars Image View -->
<activity
android:name=".MarsImageView"
android:label="Mars"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<activity
android:name=".MarsActivity"
android:label="Mars"
android:parentActivityName=".MainActivity"
android:theme="#style/Theme.TranslucentActionBar.ActionBar.Overlay" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<!-- Jupiter Image View -->
<activity
android:name=".JupiterActivity"
android:label="Jupiter"
android:theme="#style/Theme.TranslucentActionBar.ActionBar.Overlay"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<activity
android:name=".JupiterImageView"
android:label="Jupiter"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<!-- Saturn Image View -->
<activity
android:name=".SaturnActivity"
android:label="Saturn"
android:theme="#style/Theme.TranslucentActionBar.ActionBar.Overlay"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<activity
android:name=".SaturnImageView"
android:label="Saturn"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<!-- Uranus Image View -->
<activity
android:name=".UranusActivity"
android:label="Uranus"
android:theme="#style/Theme.TranslucentActionBar.ActionBar.Overlay"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<activity
android:name=".UranusImageView"
android:label="Uranus"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<!-- Neptune Image View -->
<activity
android:name=".NeptuneActivity"
android:label="Neptune"
android:theme="#style/Theme.TranslucentActionBar.ActionBar.Overlay"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<activity
android:name=".NeptuneImageView"
android:label="Neptune"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<!-- Pluto Image View -->
<activity
android:name=".PlutoActivity"
android:label="Pluto"
android:theme="#style/Theme.TranslucentActionBar.ActionBar.Overlay"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
<activity
android:name=".PlutoImageView"
android:label="Pluto"
android:parentActivityName=".MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.andrewq.planets.ImageGallery" />
</activity>
</application>
</manifest>
There is not android:value parameter for the <application> hive in the Manifest file,
take a look here as to what you can specify as a parameter:
http://developer.android.com/guide/topics/manifest/application-element.html
Thanks for your help Emil. I was able to figure out the problem. I ran a search for the memory address that the error gave me. It took me to my app_name string. The problem was, I had moved my english string file to values-en and made a new one for values-ru but the default folder was empty.