I installed Stella SDK and tried to convert a demo iOS app GLSprite to android. Followed the steps, but it seems the big problem with the instructions is that everything is installed in the /opt folder on mac and that folder seems to be protected on my computer, so all the commands I have to use sudo which confuses everything.
Then when I use Xcode to open the GLSprite project, xcode has problems because of the permissions because the project is rooted in /opt on the mac.
So I moved the project to my home folder, then I get errors saying missing include files like GL.H
I followed the steps I found on this site (someone else asked the same question) but that didnt help, still cant find GL.H nd some other includes.
I was going to use apportable, but it seems they dont have UIKit implemented yet which my app uses a lot.
Has anyone used Stella SDK to convert iOS app to Android?
To answer your original question - Stella requires using sudo and installing at /opt. Its tools depend upon hard coded paths.
The current Apportable UIKit implementation is already more complete than the one in Stella SDK.
A pre-release of a more complete Apportable UIKit implementation was made available yesterday. See this Ian Fischer's post in this Apportable discuss thread for details.
Related
I expect running cordova run android in the path of an existing project (which has been shown to work on other systems) to work on my system. I initially tried the recommended installation instructions on Cordova's website, including the platform-specific instructions, but they didn't work. I've tried following posts on StackOverflow that addressed the pieces of the problem one at a time, but after seeing a great diversity of error messages and following different approaches, I need to go back to a simpler approach and perspective.
Starting from a fresh install of the latest LTS version of Ubuntu, 18.04.4, how do I install Cordova and its dependencies in order to work on the existing project?
Here are some additional considerations.
I'm looking for step-by-step instructions, not an 'approach'.
I have not found a 'duplicate' of this question that actually worked.
I've tried too many combinations of advice to have a reasonable description of "what I've tried"
My question is on topic according to the help center as I am asking about software tools that are commonly used by programmers and my problem is practical and answerable.
You will not need additional details on my system as the fresh install of the specific version mentioned above will be my system. You should be able to reproduce this process on any such system.
I cannot share the project itself as it is proprietary, which is a common situation for software developers.
The focus of this post is narrow. I want cordova run android to have the specified behaviour of its documentation.
This question does not require opinions in its answer. It will be a repeatable and independently verifiable observation whether the answer works, and therefore an objective fact.
UPDATE 1
The following is some configuration information of the system where cordova run android on the existing project worked.
Win10 Home, Version 1909, Build 18363.720
Node v6.2.2
java version 1.8.0_171
javac 1.8.0_112
Gradle 4.7
JDK for original Java from Oracle, not Oracle's Open JDK
Cordova 8.0.0
Android studio 3.1.3
Git 2.19.1.windows.1
This may look like a duplicate question, but all the previous answers were too much confusing for a ameature developer like me. I have never used NDK before and I am working with android studio and windows PC. Previous answers(1,2) and other sources are suggesting to use linux to compile. I couldn't understand what to do. Can anyone guide me through the steps about embeding libvlc in my android app
If you are having trouble with compiling vlc , then you can use the following library , thou it is unofficial , but I worked with it and it worked fine .
Unofficial VLC Android SDK
If you're on Windows 10, you should be able to follow the wiki at https://wiki.videolan.org/AndroidCompile/ using WSL (and google/use the videolan forum for what you don't know).
If you don't want to compile, another way could be to download the apk of the official vlc-android app, unzip it, extract the libs you want (namely libvlcjni.so and probably libjniloader.so) and add it to your project (which means making gradle happy).
vlc-android is a fully opensource app that does exactly what you want to do. Feel free to have a look.
Good luck
I'm trying to explore libVLC for Android that's why setting up VLC android project on windows 7 but i'm facing problems. When i import the project and setup all helping libraries and try to compile using NDK it gives following error
make.exe: *** No rule to make target `jni/..//modules/codec/omxil/iomx.cpp',
needed by `obj/local/armeabi/objs-debug/iomx gingerbread/__//modules/codec/omxil/iomx.o'. Stop.
While when i try to search the file in my folder i only able to find iomx.h and iomx.cpp is actually missing but i downloaded the project from official repository.
git clone git://git.videolan.org/vlc-ports/android.git
I'm willing to follow a tutorial with proper configurations to setup and compile android application of VLC but i'm not able to find any tutorial and the official one says that it is for Linux and you will require a Linux or Mac OSX to follow this tutorial Tutorial Link. So my first question is
Can we Compile VLC android project Using all mentioned tools like (Android SDK, NDK, ant etc) on a windows platform.
Secondly i'm not able to find a detailed or much easy Documentation except this one VLC Documentation link, Are there any other easy to understand libVLC documentation more specific to android usage
Please help me or guide me in right direction. I want to develop an application for Docked DVD device for android.
I found my answer about this by myself and today watched this question unanswered so thought to answer it so that it can be helpful for others.
For the first part the answer is 'NO' we cannot compile the libVLC code on Windows OS using NDK as due to complex compilation process of libVLC. it Cannot be compiled using NDK tools that's why VLC released a script to compile libVLC which is in main directory when you download code from Git repository named Compile.sh and it can be run only on linux or mac as both based on Unix. i.e for libVLC compilation you need to run compile.sh which requires alot of linux based tools as mentioned in their official tutorial for compilation. you can try all those packages through cygwin on windows but i have not tried that rather i switched to Ubuntu 13.04 so that i can also explore linux environment...:). One thing i like to mention here if your target is just to use the compiled C++ code of libVLC in your project through java then you can do this on windows OS using libVLC.so file but if you need to change the libVLC code and recompile it then you will need to run compile.sh which requires linux or mac.
For the Second one the answer is same that as far as i know the only documentation i found was that i mentioned in my question.
I've been using eclipse to develop Android apps with phonegap until, a few weeks ago, I decided to try Sublime Text 2. I found it to be so much better than the eclipse editor so I would like to keep using it. Only thing I'm missing is a quick way to test the app on the device inside Sublime.
Luckily, someone else also had the same idea and developed a plugin for this:
https://github.com/Korcholis/Andrew
Sadly, I cannot get it to work, I installed ant and pointed the plugin to adb but then nothing happens when I try to create a new project (and there is no error message in the console).
I also found this other plugin:
https://bitbucket.org/ucomesdag/sublime-android
But I have no idea on how to install and run it.
Did someone else found a way to do this?
A quick update into 2014.
As of PhoneGap Cordova 3.0, it is no longer required to develop Android apps via eclipse. You are free to use any code editor or IDE you wish as app building is done independently from eclipse via a simple command line.
cordova run android to package the .apk and install on any active devices detected by adb or
cordova build android to package the .apk only.
In your case, you can keep using Sublime and pop in the cordova run android command whenever you ready to go on a test run.
While I agree with Insane Coder that you should stick with supported IDEs to develop for Android, according to this link and existing Sublime Text 2 Ant support, you could build and develop your android project with this IDE (It will just take some time to set it all up... as opposed to using a supported IDE like IntelliJ or Eclipse).
Using PackageControl, look for "Ant". That will install syntax highlighting for Ant. Another plugin that enables the build command (ctrl+b) to work for Ant files, "Super Ant". You should be able to code for android in sublime text 2 with those installed.
On another note... Do you use windows? The Andrew project you link to, seems to have Windows compatibility issues. Apparently related to locating the "SDK" (he says sdk in Andrew's github page but, probably he means JDK?) in your hard drive. Which is probably a hassle because Windows typically installs stuff to "Program Files" and in code, that turns into "Progra~1" because of the space. In the link I give you there is another approach to it, so when you install the JDK set a folder that has no spaces in its name, like c:\java\jdk1.6.0_02 or something else that strikes your fancy. The problem you could be having with Andrew is that it isn't finding the jdk in your hard disk.
I posted this question on the IntelliJ community forums but it seems as if they aren't very active so I'll just post it right here on S/O. I'm new to IntelliJ and I'm switching to use it from Eclipse which was really buggy and not useful to my needs. However, I'm attempting to build an Android project in IntelliJ Idea and it is only creating a .idea folder and the src directory without any inner files in them like it should. I've got the Android-SDK properly installed and I'm using JDK 1.7 and I'm even following the directions to properly start an Android project from the IntelliJ Wiki (found here) but it still leads me to no success. It seems as if I've got the Android Support plugin already installed with my program but then again I'm not really sure. Can I get some help please so I don't have to revert back to Eclipse again? Thanks.
Try to delete Android SDK and install it again, then download at least one Platform. IDEA runs SDK tools to create Android project template, for some reason it's failing on your system.
Check if it works better with JDK 1.6.
See the screencast that I've just recorded.