Well I am writing an Android app and wanted to run it on my device. It works on the Emulator but not on my device. I have used a virtual SD Card on my Emulator in which I load a file finally using OpenGLRendering so visualize it.
I get the following error:
OpenGLRenderer prepareDirty (0.00,0.00, 854.0,480,0) Opaque
OpenGLRenderer Finish <...>
Flushing Cashes (mode =1)
The first two lines repeat constantly as long as I do not stop running the app on my device. When I use debugger mode it stops at the line where my file will be loaded with File file = new File(Environment.getExternalStorageDirectory(),"file.xyz"); So I guess this file does not exist on my device? The problem is I do not see a folder on my computer like "External USB Storage" or such (as I am used to in Windows) where I could put my file.xyz into the SD Card of my device. When I google for this issue it says that: "File transfers have been notoriously painful between Linux and Android. While it works seamlessly on Windows, and on Mac you can use the Android File Transfer App, let me show you how to get his done on Linux. There are many ways to achieve it, but I'll use gMTP, which gives you a nifty little UI to manage file transfers. Later on, I'll also list other alternatives, in case this fails. So let's begin." Then it says I should enter
> sudo apt-get -y install mtp-tools mtpfs gmtp
However I do not have sudo rights. So I do not find any explanation in google.
Thanks for your help, I appreciate.
Best,BootTooth
0 comments:
Post a Comment