Okey
So it was what I thought
It will be fixed for next version
Okey
So it was what I thought
It will be fixed for next version
This one works on Samsung S3 with android 4.3
Tomorrow I will explain the issue and how did I solve it
Also, thank you for the logs; they helped me to solve it
The error was in the AndroidManifest file
The launcher activity was called with ".Screen1"
instead of "com.makeroid.companion.Screen1"
The ability to launch apps without including the package name was added in Android Lollipop, so that’s why it didn’t work in lower ersions
What is strange is that you can open any app with Makeroid, which are compiled with the same compiler as the Companion…
Can someone try to make an app and open in Android below Lollipop?
Working properly…
My android version is 4.0.4 and I can’t use this companion:
It crashes after a few minutes…
I use the App Inventor Companion to install the app.
Samsung Galaxy Tab 10.1 / 4.0.4
I think I have an old phone with Android 4.0 too
I will test tomorrow to discard possible issues
I can send a log for Android 4.1.1, if that helps you.
log for Companion 2.0.0 run on Android 4.1.1
--------- beginning of /dev/log/main
D/SizeAdaptiveLayout( 445): com.android.internal.widget.SizeAdaptiveLayout@42289ef8child view android.widget.LinearLayout@41ebeac8 measured out of bounds at 56px clamped to 64px
D/SizeAdaptiveLayout( 445): com.android.internal.widget.SizeAdaptiveLayout@42289ef8child view android.widget.LinearLayout@41ebeac8 measured out of bounds at 56px clamped to 64px
D/SizeAdaptiveLayout( 445): com.android.internal.widget.SizeAdaptiveLayout@42289ef8child view android.widget.LinearLayout@41ebeac8 measured out of bounds at 56px clamped to 64px
--------- beginning of /dev/log/system
I/ActivityManager( 303): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.makeroid.companion/.Screen1 u=0} from pid 571
D/ActivityThread( 571): handlePauseActivity set pri:-16
E/ActivityManager( 303): starting process com.makeroid.companion
I/ActivityManager( 303): Start proc com.makeroid.companion for activity com.makeroid.companion/.Screen1: pid=18632 uid=10114 gids={3003, 3001, 1015, 1006, 1028, 3002}
E/NvCpuService( 116): unable to open /d/tegra_hotplug/core_bias
E/Trace (18632): error opening trace file: No such file or directory (2)
I/MultiDex(18632): VM with version 1.6.0 does not have multidex support
I/MultiDex(18632): install: doIt = false
D/MultiDex(18632): Returning because of mustLoad
I/ReplApplication(18632): ACRA Not Active
W/dalvikvm(18632): Unable to resolve superclass of Lcom/google/appinventor/components/runtime/Form; (165)
W/dalvikvm(18632): Link of class ‘Lcom/google/appinventor/components/runtime/Form;’ failed
W/dalvikvm(18632): Unable to resolve superclass of Lcom/google/appinventor/components/runtime/ReplForm; (508)
W/dalvikvm(18632): Link of class ‘Lcom/google/appinventor/components/runtime/ReplForm;’ failed
W/dalvikvm(18632): Unable to resolve superclass of Lcom/makeroid/companion/Screen1; (670)
W/dalvikvm(18632): Link of class ‘Lcom/makeroid/companion/Screen1;’ failed
D/AndroidRuntime(18632): Shutting down VM
W/dalvikvm(18632): threadid=1: thread exiting with uncaught exception (group=0x4179d318)
E/AndroidRuntime(18632): FATAL EXCEPTION: main
E/AndroidRuntime(18632): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.makeroid.companion/com.makeroid.companion.Screen1}: java.lang.ClassNotFoundException: com.makeroid.companion.Screen1
E/AndroidRuntime(18632): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1983)
E/AndroidRuntime(18632): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
E/AndroidRuntime(18632): at android.app.ActivityThread.access$600(ActivityThread.java:130)
E/AndroidRuntime(18632): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
E/AndroidRuntime(18632): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(18632): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(18632): at android.app.ActivityThread.main(ActivityThread.java:4762)
E/AndroidRuntime(18632): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(18632): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(18632): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
E/AndroidRuntime(18632): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
E/AndroidRuntime(18632): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(18632): Caused by: java.lang.ClassNotFoundException: com.makeroid.companion.Screen1
E/AndroidRuntime(18632): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
E/AndroidRuntime(18632): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
E/AndroidRuntime(18632): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
E/AndroidRuntime(18632): at android.app.Instrumentation.newActivity(Instrumentation.java:1067)
E/AndroidRuntime(18632): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1974)
E/AndroidRuntime(18632): … 11 more
W/ActivityManager( 303): Force finishing activity com.makeroid.companion/.Screen1
W/ActivityManager( 303): Activity pause timeout for ActivityRecord{42c153f8 com.makeroid.companion/.Screen1}
D/ActivityThread( 571): handleResumeActivity now pri:-16
E/NvCpuService( 116): unable to open /d/tegra_hotplug/core_bias
D/ActivityThread( 571): handleResumeActivity set pri:-16
I/ActivityManager( 303): No longer want com.android.browser (pid 9444): hidden #16
V/TrashClearDatabaseHelper( 7779): TrashClearDatabaseHelper,openDatabase,begin
D/dalvikvm( 7779): GC_CONCURRENT freed 3908K, 34% free 9583K/14407K, paused 13ms+5ms, total 108ms
I/TrashClearDatabaseHelper( 7779): openDatabase: mDataVersion = 24
V/TrashClearDatabaseHelper( 7779): TrashClearDatabaseHelper,openDatabase,end
D/TrashClearDatabaseHelper( 7779): getAppType pkg=com.makeroid.companion type=-1
I/Process (18632): Sending signal. PID: 18632 SIG: 9
I/ActivityManager( 303): Process com.makeroid.companion (pid 18632) has died.
W/InputMethodManagerService( 303): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@4298d7c8 attribute=null
D/SizeAdaptiveLayout( 445): com.android.internal.widget.SizeAdaptiveLayout@42289ef8child view android.widget.LinearLayout@41ebeac8 measured out of bounds at 56px clamped to 64px
D/SizeAdaptiveLayout( 445): com.android.internal.widget.SizeAdaptiveLayout@42289ef8child view android.widget.LinearLayout@41ebeac8 measured out of bounds at 56px clamped to 64px
D/SizeAdaptiveLayout( 445): com.android.internal.widget.SizeAdaptiveLayout@42289ef8child view android.widget.LinearLayout@41ebeac8 measured out of bounds at 56px clamped to 64px
W/ActivityManager( 303): Activity destroy timeout for ActivityRecord{42c153f8 com.makeroid.companion/.Screen1}
V/TrashClearDatabaseHelper( 7779): TrashClearDatabaseHelper,openDatabase,begin
I/TrashClearDatabaseHelper( 7779): openDatabase: mDataVersion = 25
V/TrashClearDatabaseHelper( 7779): TrashClearDatabaseHelper,openDatabase,end
D/TrashClearDatabaseHelper( 7779): getAppType pkg=com.android.launcher type=-1
D/ConnectivityService( 303): handleInetConditionHoldEnd: net=1, condition=100, published condition=100
D/dalvikvm( 303): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm( 303): GC_EXPLICIT freed 2509K, 39% free 18508K/30087K, paused 5ms+11ms, total 124ms
D/SizeAdaptiveLayout( 445): com.android.internal.widget.SizeAdaptiveLayout@42289ef8child view android.widget.LinearLayout@41ebeac8 measured out of bounds at 56px clamped to 64px
D/SizeAdaptiveLayout( 445): com.android.internal.widget.SizeAdaptiveLayout@42289ef8child view android.widget.LinearLayout@41ebeac8 measured out of bounds at 56px clamped to 64px
D/SizeAdaptiveLayout( 445): com.android.internal.widget.SizeAdaptiveLayout@42289ef8child view android.widget.LinearLayout@41ebeac8 measured out of bounds at 56px clamped to 64px
Thanks for your work! Where can we download the corrected Companion?
In the builder there is a button saying “about” click on that and select “companion information”
Thanks, @Sander. I’m inaccurate in expressing my question. @Diego wrote that he fixed the error of running Companion on Android 4.x. Where can I download this revised version? The link “companion information” provides an old version (checked just now). I start it and get on android 4.1.1 the message “Unfortunately, Makeroid has stopped”
The one in the link below?
https://www.makeroid.io/files/companion.apk
Doesn’t it show the version 2.0.0?
Yes. I download version 2.0.0 from the link https://www.makeroid.io/files/companion.apk, install it and when run on Android 4.1.1 and 4.2.2 get the message “Unfortunately, Makeroid has stopped”. On ARC Welder (API level 21) Companion 2.0.0. is started.
same to my phone samsung a8 and j2 prime. in both phone crashing after scan.