Announcements

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Apk not supporting on android mobile devices

Anonymous

Apk not supporting on android mobile devices

Anonymous
Not applicable

We are having problem in installing apk exported from stingray on android mobile devices.

We have tested the same on oppo F1 & Samsung S6 & S6 Edge.

 

On oppo F1 - apk gets installed but while running the app, only black screen shows up.

 

On Samsung S6 & S6 Edge - apk do not get installed with a msg "unfortunately Installer stopped working"

 

For windows desktop, its running properly

 

Please help us with the issue for mobile devices

 

For any other information please let me know.

 

 

Thanks

Kamal 

Reply
Reply
0 Likes
Reply
5,053 Views
28 Replies
Replies (28)

james.park
Alumni
Alumni

Hello.


Two questions:

 

- What version of Stingray are you using?

- At you able to install a project like the basic template on your android device.

Reply
Reply
0 Likes

james.park
Alumni
Alumni

Also, what command you run to install the APK?

Reply
Reply
0 Likes

Anonymous
Not applicable

Hi

 

To reply to your ques:-

 

1. We are using Stingray 1.6.2

 

2. We have tried to install the basic project apk but it has also not worked

 

3. To export it from stingray we use default - "pacakge project for andriod" &  to install it on android we you the regular installation through an apk (by checking the option of unknown source)

 

Please see

 

Thanks

 

Reply
Reply
0 Likes

james.park
Alumni
Alumni

I am not sure what you mean by "install it on android we you the regular installation through an apk (by checking the option of unknown source)", personally I just open a command prompt by the apk and type adb install apkname.apk.

 

Are you able to run the project via the editor (e.g. with the connections panel).

 

Also, Stingray 1.7 is out tomorrow with improved support for Anrdoid.

Reply
Reply
0 Likes

james.park
Alumni
Alumni

Hi,

 

were you able to resolve your problem?

Reply
Reply
0 Likes

Anonymous
Not applicable

Hi

 

NO we have no solution as yet 

 

* We have installed the latest stingray 1.7 and with no successful results

* and as suggested by you we have even tried installing it through command prompt with no success

 

We are not able to get what you wanted to say - "personally I just open a command prompt by the apk and type adb install apkname.apk"

 

 

please help

 

Reply
Reply
0 Likes

james.park
Alumni
Alumni

Here is a video of me running Stingray Basic Project on an android Phone.

 

https://www.youtube.com/watch?v=P_nz1YmMhNc

 

Steps to reproduce:

 

1. Activate developer mode on your phone.

2. Activate USB debugging on your phone.

3. Plug phone into PC with a USB cable.

4. Open the stingray editor as in my video.

5. Open the Basic Project (don't open your project).

5. Create a connection for your android phone as in my video.

6. Run the project with the android connection and the phone unlocked (e.g. not on the lock screen).

 

You should (after a short wait) see the apk launch on the device.  You may need to wait a while for it to load.

 

Can you tell me which part of that doesn't work for you?

Reply
Reply
0 Likes

james.park
Alumni
Alumni

Hi,

 

Did you manage to determine which part of those steps doesn't work for you?

 

Thanks.

Reply
Reply
0 Likes

Anonymous
Not applicable

Hi

 

I have attached the image with issue

While publishing we get this error

 

other than this we were able to run apk on "One Plus3" phone but it is not working on lower models such as oppo "F1"

 

 

 

Reply
Reply
0 Likes

james.park
Alumni
Alumni

Hello.

 

Did you install:

 

  • java sdk
  • android sdk

 

and make sure that adb.exe is in your path?  If not running on android won't work.

 

Let me know if you need help with that (but it is explained in the documentation).

 

Thanks.

 

Reply
Reply
0 Likes

Anonymous
Not applicable

Hi

 

We have installed java sdk & android sdk at the same time adb.exe is also visible on the path while connecting devices

 

as i mentioned earlier it is working on selected phone and not others and that too takes alot of time to load

 

 

I have attached the screenshots

 

thanks

Reply
Reply
0 Likes

james.park
Alumni
Alumni

there are several things that would be useful to have / know.

 

Can you launch the external console when running on android and get the log from there?  From the editor you should find it in the windows menu (or you can just launch it manually).  There should be a tab with the name you gave to your android device for the connection.

 

Can you also send me your boot.package. ?

 

Are you able to run anything at all on the phones that do not work (e.g. basic template)?

 

Reply
Reply
0 Likes

Anonymous
Not applicable

I have attached the log. please review

 

also we have tried even the basic project is not working on our testing phone

 

 

 

Reply
Reply
0 Likes

james.park
Alumni
Alumni

That is the log from the windows machine.

 

I need the log from the android device; you can retrieve that as I mentioned with the external console tool.

Reply
Reply
0 Likes

Anonymous
Not applicable

Please see to the attachment

 

We have taken 2 logs. 1 from each phone with working conditions and not working situation

 

Phones used - Oppo F1(Didn't Work)  & One Plus 3(worked on this)

 

 

Thanks

Reply
Reply
0 Likes

james.park
Alumni
Alumni

Ok, I think there is some confusion here because you are not sending me what I am asking for.  I am out of the office today but I will be back on Monday.  I will make a video that shows how to send the information I'm asking for.

 

Thanks.

Reply
Reply
0 Likes

james.park
Alumni
Alumni

Alternatively you can open a windows command prompt and run the following:

 

adb logcat -c && adb logcat -s stingray

 

And then run the game.  You will get the log in the command prompt and can copy-paste it to me.

Reply
Reply
0 Likes

Anonymous
Not applicable

please see to the attachment

 

Thanks

 

Reply
Reply
0 Likes

james.park
Alumni
Alumni

Thanks.

 

From your log it seems the Oppo F1 does not meet the minimum OpenGL requirements to run Stingray:

 

Assertion failed `gl_extensions::has_feature(gl_feature::COLOR_BUFFER_HALF_FLOAT) || gl_extensions::has_feature(gl_feature::COLOR_BUFFER_FLOAT)` at `D:/BuildAgent/work/bd54bcd54314c102/git_work/runtime/gl_render_device/gl

 

We may address this in a future update but it seems that currently it is not possible to run on that device.

Reply
Reply
0 Likes