Android Question Error uploading application in debug mode

MichalK73

Well-Known Member
Licensed User
Longtime User
Hello.

I have a problem with the upload B4A in debug mode and released after ADB USB. The MIUI 8.1 Stable, when you have had a week ago version 8.0.3 Stable everything worked. Now I have a problem. Upload by B4A-bridge works.

Anyone know how to solve it?

B4X:
B4A version: 6.31
Parsing code.    (0.03s)
Compiling code.    (0.18s)
Compiling layouts code.    (0.04s)
Organizing libraries.    (0.00s)
Generating R file.    (0.11s)
Compiling debugger engine code.    (1.84s)
Compiling generated Java code.    (2.07s)
Convert byte code - optimized dex.    (1.74s)
Packaging files.    (0.44s)
Copying libraries resources    (0.01s)
Signing package file (debug key).    (1.06s)
ZipAlign file.    (0.06s)
Installing file to device.    Error
[ 10%] /data/local/tmp/newsrsko_RAPID_DEBUG.apk
[ 21%] /data/local/tmp/newsrsko_RAPID_DEBUG.apk
[ 32%] /data/local/tmp/newsrsko_RAPID_DEBUG.apk
[ 43%] /data/local/tmp/newsrsko_RAPID_DEBUG.apk
[ 54%] /data/local/tmp/newsrsko_RAPID_DEBUG.apk
[ 65%] /data/local/tmp/newsrsko_RAPID_DEBUG.apk
[ 76%] /data/local/tmp/newsrsko_RAPID_DEBUG.apk
[ 87%] /data/local/tmp/newsrsko_RAPID_DEBUG.apk
[ 98%] /data/local/tmp/newsrsko_RAPID_DEBUG.apk
[100%] /data/local/tmp/newsrsko_RAPID_DEBUG.apk
    pkg: /data/local/tmp/newsrsko_RAPID_DEBUG.apk
Failure [INSTALL_CANCELED_BY_USER]
 

MichalK73

Well-Known Member
Licensed User
Longtime User
I found the cause.
They have made the option "Allow installing applications via USB" in the options programmer. The default is off. When you turn everything works.
Subject to closing.
 
Upvote 0
Top