Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8886825
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T21:39:09+00:00 2026-06-14T21:39:09+00:00

I have to say that i’m using this android device for the first time,

  • 0

I have to say that i’m using this android device for the first time, But I set USB debug.
It’s like if it installed the app the first time and then it doesn’t update any changes i do.

So, the app works on the Emulator.

I installed it on Xperia arc S (Sony Ericsson) device and it worked the first time.

Then i have chosen a different main activity in the manifest, and i got this error

ActivityManager: java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.moob/.InitialMenuActivity } from null (pid=7195, uid=2000) requires null

But it still works on the emulator !! I already uninstalled the app on the mobile device but then the error above is raised.

Note that after uninstalling and starting again on the movile device, it re-installs the version that worked (I can start it manualy on the phone but it’s the old version) before the manifest changes.

After erasing the app

Installing duelos_android.apk...
Success!
Starting activity com.moob.InitialMenuActivity on device 42583930325432573634
ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=

[android.intent.category.LAUNCHER] cmp=com.moob/.InitialMenuActivity }
ActivityManager: java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.moob/.InitialMenuActivity } from null (pid=7195, uid=2000) requires null

The manifest –

 <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.moob"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-sdk android:minSdkVersion="8" />
    <uses-permission android:name="android.permission.VIBRATE"/>
    <uses-permission android:name="android.permission.INTERNET"></uses-permission>

    <application
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name" >
        <activity
            android:name=".SingleDuelActivity"
            android:screenOrientation="portrait"
            android:label="@string/app_name" >
        </activity>

        <activity
            android:name=".MultiDuelActivity"
            android:screenOrientation="portrait"
            android:label="@string/app_name" >
        </activity>

         <activity
            android:name=".GameClientActivity"
            android:screenOrientation="portrait"
            android:label="@string/app_name" >
        </activity>

        <activity
            android:name=".LoadingActivity"
            android:screenOrientation="portrait"
            android:label="@string/app_name" >

        </activity>

        <activity
            android:name=".Ranking"
            android:screenOrientation="portrait"
            android:label="@string/app_name" >

        </activity>  
         <activity
            android:name=".LogginActivity"
            android:screenOrientation="portrait"
            android:label="@string/app_name" >

        </activity>

         <activity
            android:name="com.moob.FB.FriendsList"
            android:screenOrientation="portrait"
            android:label="@string/app_name" >
        </activity>

        <activity
            android:name="com.moob.FB.Example"            
            android:label="@string/app_name" >
        </activity>

        <activity
            android:name=".InitialMenuActivity"
            android:screenOrientation="portrait"
            android:exported="true"
            android:label="@string/app_name" >
             <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>

        </activity>
    </application>

<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />

</manifest>

Here the LogCat

    11-19 12:32:42.506: D/AndroidRuntime(7718): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
11-19 12:32:42.506: D/AndroidRuntime(7718): CheckJNI is OFF
11-19 12:32:42.506: D/dalvikvm(7718): creating instr width table
11-19 12:32:42.616: D/AndroidRuntime(7718): Calling main entry com.android.commands.pm.Pm
11-19 12:32:42.626: D/AndroidRuntime(7718): Shutting down VM
11-19 12:32:42.626: D/dalvikvm(7718): GC_CONCURRENT freed 101K, 71% free 299K/1024K, external 0K/0K, paused 1ms+1ms
11-19 12:32:42.626: D/dalvikvm(7718): Debugger has detached; object registry had 1 entries
11-19 12:32:42.626: I/AndroidRuntime(7718): NOTE: attach of thread 'Binder Thread #2' failed
11-19 12:32:42.746: D/AndroidRuntime(7728): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
11-19 12:32:42.746: D/AndroidRuntime(7728): CheckJNI is OFF
11-19 12:32:42.746: D/dalvikvm(7728): creating instr width table
11-19 12:32:42.866: D/AndroidRuntime(7728): Calling main entry com.android.commands.am.Am
11-19 12:32:42.866: I/ActivityManager(262): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.moob/.InitialMenuActivity } from pid 7728
11-19 12:32:42.866: W/ActivityManager(262): Permission denied: checkComponentPermission() reqUid=10158
11-19 12:32:42.866: W/ActivityManager(262): Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.moob/.InitialMenuActivity } from null (pid=7728, uid=2000) requires null

InitialMenuActivty (I don’t use clickUno and clickDos they are not from me)

public class InitialMenuActivity extends Activity {
private static final String TAG = "TESTING";

    //menu para ir a configuracion, jugar solo, ranking, puntuacion y multplayer
/*
 * 
 * 
 * http://greendao-orm.com/
 * 
 * 
 * */

    private SQLiteDatabase db;
    private DaoMaster daoMaster;
    private DaoSession daoSession;
    private LogroDao daoLogro;
    private Cursor cursor;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.mainmenu);




    }
    public void clickUno(View target)
    {
        Log.d(TAG, "click 1");  
        DevOpenHelper helper = new DaoMaster.DevOpenHelper(this, "notes-db", null);
        db = helper.getWritableDatabase();
        daoMaster = new DaoMaster(db);
        daoSession = daoMaster.newSession();
        daoLogro = daoSession.getLogroDao();
        final DateFormat df = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.MEDIUM);
        String comment = "logro en:" + df.format(new Date());
        daoLogro.insert(new Logro(null,comment,new Date()));
     /*   List<Logro> logros=daoLogro.queryBuilder().list();
        for (Iterator iterator = logros.iterator(); iterator.hasNext();) {
            Logro logro = (Logro) iterator.next();
            Log.d(TAG, "Logro::"+logro.getLogro_name()+"-"+String.valueOf(logro.getDate()));
        }
        */



    }
    public void clickDos(View target)
    {
        Log.d(TAG, "click 2");
        List<Logro> logros=daoLogro.queryBuilder().list();
        for (Iterator iterator = logros.iterator(); iterator.hasNext();) {
            Logro logro = (Logro) iterator.next();
            Log.d(TAG, "Logro::"+logro.getLogro_name()+"-"+String.valueOf(logro.getDate()));
        }

    }

    public void exempleFB(View target){

        Intent t = new Intent(InitialMenuActivity.this, Example.class);
        startActivity(t);
    }

    public void logginActivity(View target){

        Intent t = new Intent(InitialMenuActivity.this, LogginActivity.class);
        startActivity(t);
    }

    public void rankingActivity(View target){
        //if (Utility.arrayListFriend != null){
        Intent t = new Intent(InitialMenuActivity.this, Ranking.class);
        startActivity(t);
    }

    public void singleDuelActivity(View target){

        Intent t = new Intent(InitialMenuActivity.this, SingleDuelActivity.class);
        startActivity(t);
    }

    public void multiDuelActivity(View target){

    Intent t = new Intent(InitialMenuActivity.this, MultiDuelActivity.class);
    startActivity(t);
}
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T21:39:11+00:00Added an answer on June 14, 2026 at 9:39 pm

    Ok, i had to clean the project and it solved the problem … i still don’t know why it was working on the emulator but not on the mobile device.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

At first, i have to say that this topic is very common topic. I
My first post - firstly have to say that this site is great -
first of all, I have to say that I am completely noob in android
First, I have to say that I really like Groovy and all the good
I'm a newcomer to PDO and have to say that I like it so
First of all, I have to say that I'm going to talk about System.ComponentModel.Component
Lets say that i have a duration of time e.g., 10 minutes . I
I just started exploring Scala in my free time. I have to say that
All the tutorials I have done say that I set stuff to nil in
I have a Problem developing in PHP. First I have to say that I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.