Works fine on my test devices.
What device and which Android version?
Android Linux 8.0.0
Build the APK and try ...
Which version?
Version 2.63
Also building the APK gives this error:
App Inventor is unable to compile this project.
The compiler error output was
________Preparing application icon
________Creating animation xml
________Creating style xml
________Creating provider_path xml
________Creating network_security_config xml
________Generating adaptive icon file
________Generating round adaptive icon file
________Generating adaptive icon background file
________Generating manifest file
________Attaching native libraries
________Attaching Android Archive (AAR) libraries
________Attaching component assets
________Invoking AAPT
AAPT time: 2.163 seconds
________Compiling source files
(compiling appinventor/ai_herui_ray_li/stopwatch/Screen1.yail to appinventor.ai_herui_ray_li.stopwatch.Screen1)
ERROR: appinventor/ai_herui_ray_li/stopwatch/Screen1.yail line 87: call to 'set-and-coerce-property!' has too few arguments (3; must be 4)
Kawa compile time: 3.286 seconds
.
I've downloaded the extension, how do I get the blocks in my app?
No problem to build the APK, try this:
I also tried my app (Companion & APK) on a very old Android 5 device. Works fine!
Where do I go to run the APK file that you uploaded?
Seems like your test works for me too...
So where is your problem?
It should also work with Companion.
Thanks! This works.
I've resolved the issue, but thanks for your help, I appreciate it!
And what was the problem?
I think it was because my device can't handle the timer when it ticks too fast, but 1 second seems good enough.
My app works on all of my test devices (Companion & APK) Android 4.x, 5.x, 7, 8, 9, 11, 12.
So it should also work on yours!
Hi Ray
Here is the same code I uploaded before, but with an additional Clock that ensures the App's screen is always on display.
StopWatchHMS_2.aia (4.9 KB)
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.