Use the Android Studio "Instant Run" to install apk is fail in android 6.0.1.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Use the Android Studio "Instant Run" to install apk is fail in android 6.0.1.

1,834 Views
charleshuang
Senior Contributor II

Hi NXP

Our platform is imx6q and OS is android_6.0.1_2.1.0.

When I use the android studio and try "Instant Run" install apk, the result is fail.

The error message =>  "Error while uploading slice_8.apk:Error:java.io.IOException:posix_fallocate failed:ENOTSUP (Operation not supported on transport endpoint)

Workspace 1_005.png

If I download Android Studio, I need to update "Gradle version" to 3.3 in Project Structure.

The Gradle version 3.3 is support "Instant Run" to install apk.

Do you have any advice?

Labels (3)
2 Replies

799 Views
diegoadrian
NXP Employee
NXP Employee

Hello Charles,

You can use the ADB tool to install the apk.

In this document is explained how you can install the tool and how you can use it to install the apk.

https://community.nxp.com/docs/DOC-102514

I hope this information can help you.

Best Regards,

Diego.

799 Views
basinibharathi
Contributor II

Hi,

When I tried to install a new apk file on my SD card and boot iMX6, I am not seeing the application on HDMI screen, even though the application is installed successfully using the below command.

 

adb install application.apk

Any idea what could be the wrong?

I also tried to copy the apk file directly to SD card using USB and tried to install it from HDMI screen. But,  I can not see the apk file on my SD card. Since file manager is not available, only icons I can see on the HDMI screen.

 

Regards,

Bharathi

0 Kudos