Author Topic: Cannot run app on AVD  (Read 1064 times)

Ashish

  • Hero Member
  • *****
  • Posts: 526
  • Eat.... Sleep.... CODE.... Repeat.....
Cannot run app on AVD
« on: November 17, 2016, 02:09:14 am »
Hi Guys!
I've recently downloaded Android Studio & I want to test any qb64 program in it. So, I have created a android project of the gor64.bas
in samples folder form qb64. Now it's time to run on Android Studio. I have imported this project in Android Studio as the Galleon have shown in his video. But I cannot run it. There are many errors
like -
Read access is allowed from event dispatch thread or inside read-action only (see com.intellij.openapi.application.Application.runReadAction())
and when I try to run any app -
           Unsupported method: AndroidProject.getPluginGeneration().
           The version of Gradle you connect to does not support that method.
           To resolve the problem you can change/upgrade the target version of Gradle you connect to.
           Alternatively, you can ignore this exception and read other information from the model.

You can see some screenshots in attachments
if (Me.Success) {Me.Improve();} else {Me.TryAgain();}

aKFrameWork - http://bit.ly/aKFrameWork
p5js.bas - http://bit.ly/p5jsbas
Menu System - http://bit.ly/guiMenuBar

OpenGL Demos - http://bit.ly/openGLdemos

FellippeHeitor

  • QB64 Partner Site Owner
  • Hero Member
  • *
  • Posts: 1706
  • LET IT = BE
    • QB64.org
Re: Cannot run app on AVD
« Reply #1 on: November 17, 2016, 03:53:21 am »
I don't know of anyone except Galleon who's had any reported success on the Android front and consequently support is quite limited. Let us know if you manage to resolve the issue, as you'll be a sort of a pioneer there.

Clippy

  • Hero Member
  • *****
  • Posts: 19399
  • I LOVE π = 4 * ATN(1)    Use the QB64 WIKI >>>
    • Pete's Qbasic Site
Re: Cannot run app on AVD
« Reply #2 on: November 18, 2016, 02:15:50 pm »
Try a different device? See the WIKI on Android for suggestions, but start off with SMALL programs.

http://www.qb64.net/wiki/index.php/Android_Project

This site SUCKS now and I cannot get  to the WIKI as the GOP probably took it over too!
QB64 WIKI: Main Page
Download Q-Basics Demo: Q-Basics.zip
Download QB64 BAT, IconAdder and VBS shortcuts: QB64BAT.zip
QB64 SDL

Ashish

  • Hero Member
  • *****
  • Posts: 526
  • Eat.... Sleep.... CODE.... Repeat.....
Re: Cannot run app on AVD
« Reply #3 on: November 20, 2016, 04:05:52 am »
Try a different device? See the WIKI on Android for suggestions, but start off with SMALL programs.

http://www.qb64.net/wiki/index.php/Android_Project

This site SUCKS now and I cannot get  to the WIKI as the GOP probably took it over too!
I've tried, but still it shows same error. Maybe there's error in c++ code.....
if (Me.Success) {Me.Improve();} else {Me.TryAgain();}

aKFrameWork - http://bit.ly/aKFrameWork
p5js.bas - http://bit.ly/p5jsbas
Menu System - http://bit.ly/guiMenuBar

OpenGL Demos - http://bit.ly/openGLdemos