Quantcast
Channel: Android Mode - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 941

Apks compiled in android mode not working.

$
0
0

So I´ve been tryng to compile and run a simple apk in different devices without any succes.

I´ve tryed the simplest of the codes .

void setup(){
  fullScreen();

}

void draw(){
    ellipse(mouseX,mouseY,10,10);
}

I´ve already tryed in 3 different computers with 3 different devices without any success.

This de logcat :

Shutting down VM
04-12 15:42:47.788 7019 7019 E AndroidRuntime: FATAL EXCEPTION: main
04-12 15:42:47.788 7019 7019 E AndroidRuntime: Process: processing.test.mierda, PID: 7019
04-12 15:42:47.788 7019 7019 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{processing.test.mierda/processing.test.mierda.MainActivity}: java.lang.ClassNotFoundException: Didn't find class ?

I´ve been searching in stackoverflow and it´s says that this is something that happens when it can´t find the class :

http://stackoverflow.com/questions/16102232/java-lang-runtimeexception-unable-to-instantiate-activity-componentinfo-classn

But my android manifest is the one that automatically generates processing :

    <?xml version="1.0" encoding="UTF-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="">
      <uses-sdk android:minSdkVersion="15" android:targetSdkVersion="23"/>
      <application android:debuggable="true" android:icon="@drawable/icon" android:label="">
        <activity android:name=".MainActivity" android:theme="@android:style/Theme.NoTitleBar">
          <intent-filter>
            <action android:name="android.intent.action.MAIN"/>
            <category android:name="android.intent.category.LAUNCHER"/>
          </intent-filter>
        </activity>
      </application>
    </manifest>

Tryed using void settings, wont work.

Ive tryed : Sdk version Api 6.0(23),5.0,4.0 PC OS windows.

Android devices that I´ve tryed :

Moto X android version 5.1, Moto E (2 generation) with 4G LTE android version 5.1, Moto G android version 6,

Ideas? Suggestions?


Viewing all articles
Browse latest Browse all 941

Trending Articles