Hi I am working with android . I had created an app in which I used volley jar for loading json contents using the link http://www.androidhive.info/2014/05/android-working-with-volley-library-1/ . Here I am used a AppController class which extends Application.MY problem is that when I run the app in device it works fine but shows app label as "Loading". I dont know why this happens .I changed label and icon in manifest and so Icon will changes but app name still the same. Here is my manifest.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="info.androidhive.tabsswipe"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="17" />
<uses-permission android:name="android.permission.INTERNET" />
<application
android:name="com.listview.myapp.app.AppController"
android:allowBackup="true"
android:icon="#drawable/icon_aloud"
android:label="#string/app_name"
android:theme="#style/AppTheme" >
<activity
android:name="info.androidhive.tabsswipe.Welcome"
android:label="" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="info.androidhive.tabsswipe.ProfileView"
android:label="" />
<activity
android:name="info.androidhive.tabsswipe.Step1"
android:label="" />
<activity
android:name="info.androidhive.tabsswipe.Share"
android:label="#string/app_name" />
<activity
android:name="info.androidhive.tabsswipe.Suggestion"
android:label="" />
<activity
android:name="info.androidhive.tabsswipe.Groupchat"
android:label="" />
<activity
android:name="info.androidhive.tabsswipe.MainActivity"
android:label=""
android:theme="#style/MyTheme" >
</activity>
<activity
android:name="info.androidhive.tabsswipe.Association"
android:label="" />
<activity
android:name="info.androidhive.tabsswipe.Asso_single"
android:label="" />
<activity android:name="info.androidhive.tabsswipe.NotificationActivity" />
<activity
android:name="info.androidhive.tabsswipe.Step2"
android:label="" />
<activity
android:name="info.androidhive.tabsswipe.Step3"
android:label="" />
<activity
android:name="info.androidhive.tabsswipe.Comment_thread"
android:label="" />
</application>
</manifest>
here is my string.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Testapp</string>
<string name="action_settings">Settings</string>
<string name="hello_world">Hello world!</string>
<string name="radio_public">public</string>
<string name="radio_private">private</string>
</resources>
How can I solve this problem ? please help me. Thanks in advance :)
Either remove android:label="" from Welcome activity or android:lable="#string/app_name" in Welcome activity .
Thanks
Related
I am having trouble accesing the ID in R.id I have an image on imgur showing what I'm talking about . I don't know why it is happening I am using Intellij for an IDE .
http://imgur.com/a/feb98
Any idea what the problem is ?
UPDATED
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="main.java.com.mycompany.myapp">
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"
/>
<uses-permission
android:name="android.permission.INTERNET"
/>
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name">
<activity
android:name="main.java.com.mycompany.myapp.MainActivity"
android:label="#string/app_name"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.searchable"
android:resource="#xml/searchable"
/>
</activity>
</application>
</manifest>
I can post up code if needed .
OK up until I started integrating FireBase my android app would load for debugging google services and other things. When I started integrating FireBase and AdMob I got the above mentioned error I am adding both manifests. I am using Android Studio 2.1.1 and Libgdx this is my Main manifest:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.allen.howlers.game"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="23" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/GdxTheme" >
<activity
android:name="com.allen.howlers.game.AndroidLauncher"
android:label="#string/app_name"
android:screenOrientation="landscape"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.google.android.gms.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />
<meta-data android:name="com.google.android.gms.games.APP_ID" android:value="#string/app_id" />
<meta-data android:name="com.google.android.gms.version" android:value="#integer/google_play_services_version" />
</application>
</manifest>
This is my secondary manifest from BaseGameUtils:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.example.games.basegameutils"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="23" />
<application>
<meta-data android:name="com.google.android.gms.version" android:value="#integer/google_play_services_version" />
<meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" />
</application>
</manifest>
Recently begun to experience this error when I try to run my android application using the Eclipse IDE, already looked at other solutions but found nothing to solve my problem. Below is the error log and my manifest file.
[2015-02-11 10:18:28 - PapiroSmart] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.prologica.papirosmart/.SplashScreenActivity }
[2015-02-11 10:18:28 - PapiroSmart] ActivityManager: Error type 3
[2015-02-11 10:18:28 - PapiroSmart] ActivityManager: Error: Activity class {com.prologica.papirosmart/com.prologica.papirosmart.SplashScreenActivity} does not exist.
Manifest file
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.prologica.papirosmart"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="18" />
<uses-permission android:name="android.permission.INTERNET" />
<!-- Accessing camera hardware -->
<uses-feature android:name="android.hardware.camera" />
<!-- Access permission to Android Folders -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<!-- Access permission to manage network conections -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" >
</uses-permission>
<!-- Wi-Fi Permissions -->
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" >
</uses-permission>
<uses-permission android:name="android.permission.UPDATE_DEVICE_STATS" >
</uses-permission>
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" >
</uses-permission>
<application
android:name=".app.AppController"
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/Theme.Papirosmart" >
<activity
android:name=".cliente.LoginActivity"
android:label="#string/app_name"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".cliente.MainActivity"
android:label="#string/app_name"
android:parentActivityName="cliente.LoginActivity"
android:screenOrientation="portrait" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="cliente.LoginActivity" />
</activity>
<activity
android:name=".cliente.ConfigActivity"
android:label="#string/app_name"
android:parentActivityName="cliente.MainActivity"
android:screenOrientation="portrait" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="cliente.MainActivity" />
</activity>
<activity
android:name=".SplashScreenActivity"
android:label="#string/app_name"
android:screenOrientation="portrait" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".cliente.FileChooserActivity"
android:label="#string/app_name"
android:parentActivityName="cliente.MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="cliente.MainActivity" />
</activity>
<activity android:name="eu.janmuller.android.simplecropimage.CropImage" />
<provider
android:name="InternalStorageContentProvider"
android:authorities="eu.janmuller.android.simplecropimage.CropImage"
android:exported="true" />
<receiver android:name=".app.ConnectionReceiver" >
<intent-filter>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
<action android:name="android.net.wifi.WIFI_STATE_CHANGED" />
</intent-filter>
</receiver>
<service android:name=".app.FileUploaderService" >
</service>
<receiver android:name=".app.FileUploaderReceiver" >
</receiver>
<service android:name=".app.SynchronizeService" >
</service>
</application>
</manifest>
it says com.prologica.papirosmart.SplashScreenActivity does not exists
so please use the specific packagename where SplashScreenActivity exists. supose if SplashScreenActivity is in package a.b.c. than use the package specific details with SplashScreenActivity .
when I update my SDK the icon app doesn't appear in the activities I tried all the solution on the internet but nothing happened .. I tried also to put " android:icon" in each activities nothing change also made a custom actionbar also nothing change .. please any help?
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package=""
android:installLocation="auto"
android:versionCode="1"
android:versionName="1.0" >
"
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="21" />
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/CustomActionBarTheme" >
<activity
android:name=".Main"
android:label="#string/app_name"
android:theme="#style/NoActionBarTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".Option"
android:label="#string/title_activity_option" >
</activity>
<activity
android:name=".CustomList"
android:label="#string/title_activity_custom_list" >
</activity>
<activity
android:name=".Social"
android:label="#string/title_activity_social" >
</activity>
<activity
android:name=".About"
android:label="#string/title_activity_about" >
</activity>
<activity
android:name=".ActionBar"
android:label="#string/title_activity_action_bar" >
</activity>
</application>
</manifest>
Hey guys im getting this error when i try to upload to the android market. Ive read some othere articles and have found that it comes from the manifest file, but i havent been able to locate it. Anybody have any suggestions?
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="h6ttp://schemas.android.com/apk/res/android"
package="com.gymessentials.android"
android:versionCode="7"
android:versionName="1.6" >
<uses-sdk android:minSdkVersion="10" />
<uses-permission android:name="android.permission.INTERNET" />
<application
android:icon="#drawable/gymessentials"
android:label="#string/app_name" >
<activity
android:name="com.gymessentials.android.WebViewActivity"
android:theme="#android:style/Theme.NoTitleBar" />
<activity
android:name="com.gymessentials.android.WebViewActivity2"
android:theme="#android:style/Theme.NoTitleBar" />
<activity
android:name="com.gymessentials.android.WebViewActivity3"
android:theme="#android:style/Theme.NoTitleBar" />
<activity
android:name="com.gymessentials.android.WebViewActivity4"
android:theme="#android:style/Theme.NoTitleBar" />
<activity
android:name="com.gymessentials.android.WebViewActivity5"
android:theme="#android:style/Theme.NoTitleBar" />
<activity
android:name="com.gymessentials.android.WebViewActivity6"
android:theme="#android:style/Theme.NoTitleBar" />
<activity
android:label="#string/app_name"
android:name="com.gymessentials.android.MainActivity" >
<intent-filter >
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
Looks like you have a typo in the URL to the android namespace - in the manifest element at the very top of your file:
<manifest xmlns:android="h6ttp://schemas.android.com/apk/res/android"
...
Try taking out the "6".