I am trying to use the titanium developer v.1.2.1 but i have some difficulty the simulators are not lunching!
for the iPhone simulator nothing happens it just goes like this and the simulator is not shown
[INFO] Compiling JavaScript...one moment
[INFO] No JavaScript errors detected.
[INFO] One moment, building ...
[INFO] Titanium SDK version: 1.4.1.1
[INFO] iPhone Device family: iphone
[INFO] iPhone SDK version: 3.1
And for the Android ti says
[INFO] Launching Android emulator...one moment
[INFO] Building HelloWorld for Android ... one moment
[INFO] Waiting for the Android Emulator to become available
[INFO] Copying project resources..
[INFO] Tiapp.xml unchanged, skipping class generation
[INFO] Manifest unchanged, skipping Java build
[ERROR] /Users/vladimirrobevski/Desktop/android-sdk-mac_x86/tools/apkbuilder
[INFO] Installing application on device
[ERROR] Failed installing com.devoncompanyinc.helloworld: pkg: /data/local/tmp/app.apk
Is someone having the same problem?How to fix this
I'm unclear if you are trying to run the app in the simulator or the phone. I'll assume for iphone, you are talking simulator.
I have had this same problem before with iphone (but not android) along with other build issues like this. Here's what I did to get it to work:
Delete the contents of the iphone build folder (as described in other answer).
Assuming you are on a mac, open project in XCode and build from there.
Run simulator from xcode...you can connect your phone and run on phone from there,
too.
If the simulator doesn't work from here, you'll need to update your xcode tools. If it works, go to next step.
Launch Titanium developer and run the
project again. It should launch in the simulator.
what I usually do is delete the all of the files in the build/iphone directory... just the files NOT the directories and that should force a complete rebuild of the project
Related
I'm trying to making a UI test with Firebase test lab from Android studio.
But I'm still stuck on the step: Uploading app APK ...
Anyone already faced this issue?
Thank you in advanced
The problem was about my android studio and gradle version.
They were not up-to-date.
So I set Android studio 3.6.2 and gradle 3.6.2 and now i'm ,not stuck anymore !
PS D:\Users\erick\repos\leaderboard> sbt about
The Java Development Kit (JDK) installation you have is not up to date.
sbt requires at least version 6+, you have
version 0
Please go to http://www.oracle.com/technetwork/java/javase/downloads/ and download
a valid JDK and install before running sbt.
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[info] Loading project definition from D:\Users\erick\repos\leaderboard\project
[info] Loading settings from build.sbt ...
[info] Set current project to leaderboard (in build file:/D:/Users/erick/repos/leaderboard/)
[info] This is sbt 1.1.4
[info] The current project is ProjectRef(uri("file:/D:/Users/erick/repos/leaderboard/"), "leaderboard") 0.0.0
[info] The current project is built against Scala 2.12.5
[info] Available Plugins: sbt.plugins.IvyPlugin, sbt.plugins.JvmPlugin, sbt.plugins.CorePlugin, sbt.plugins.JUnitXmlReportPlugin, sbt.plugins.Giter8TemplatePlugin
[info] sbt, sbt plugins, and build definitions are using Scala 2.12.4
Been searching for almost an hour for some way to suppress
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
in SBT, but it seems impossible. Is there some way to do this?
As usual, I seem to find the solutions shortly after posting the problem:
Go to SBT installation directory
edit conf/sbtconfig.txt
remove -XX:MaxPermSize=256m
Sadly, Google provides many sbt hits that are either wrong or out of date, so it takes a while to find valid solutions.
This Solution worked for me
Go to project directory
Open directory sbt-dist\conf
Open sbtconfig.txt file and comment below property by putting # prior the line
#-XX:MaxPermSize=256m
There are many solution which show downgrade to java version. You don't need to do just follow above steps . It will work.
After installing Gluon on (Eclipse Neon 4.6.2) I can see the Gradle Task 'run' but the task 'androidInstall' (for installing to the device) is not visible. if I click to the task installApp happens also nothing
I tried to do the steps at:
http://docs.gluonhq.com/javafxports/#_prerequisites
but the Android SDK with the Android Support Library is not available anymore.
is that the reason? any ideas?
I have spent dozens of time looking for the solution. I gave up.
I use Qt 5.3 for development and I build cross platform solution.
My MacbBook Pro runs Mac OS X 10.9.3 Mavericks.
My project successfully runs in ios-simulator and desktop builds.
But I couldn't deploy it to neither AVD nor real Android Device.
Here is the logs:
Building the android package failed!
-- For more information, run this command with --verbose.
Generating Android Package
Input file: /Users/xxx/build-xxx-Android_for_armeabi_v7a-Debug/android-libxxx.so-deployment-settings.json
Output directory: /Users/xxx/build-xxx-Android_for_armeabi_v7a-Debug/android-build
Application binary: /Users/xxx/build-xxx-Android_for_armeabi_v7a-Debug/libxxx.so
Android build platform: android-19
Install to device: emulator-5554
19:43:56: The process "/Applications/Qt/5.2.1/android_armv7/bin/androiddeployqt" exited with code 14.
Error while building/deploying project xxx (kit: Android for armeabi-v7a (GCC 4.8, Qt 5.2.1))
When executing step 'Deploy to Android device'
19:43:56: Elapsed time: 02:13.
Do you have any ideas?
Solved.
The issue was:
I set incorrect path to ant executable.
Qt was not able to build android app and for sure deploy it.
Now I am able to run app on the device, but still can't run app with emulator.
Good luck.
Once I run 'sbt compile' on a 2.3 play project, I can't use 'sbt compile' to compile any Play 2.2.x projects anymore. This is the error when I run sbt command.
[info] Loading project definition from /Users/macbookpro/playproject/project
[error] java.lang.NoClassDefFoundError: play/Play$
[error] Use 'last' for the full log.
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?
I just had this same issue. In my case I was using Play 2.4, but it's probably the same cause. I had run activator ui in my project directory accidentally. It created a project/play-fork-run.sbt file which is for activator support, but was preventing sbt from working directly. Deleting that file cleared up the issue and I can now use sbt again.
Try updating play-fork-run.sbt
addSbtPlugin("com.typesafe.play" % "sbt-fork-run-plugin" % "2.3.8")
update to
addSbtPlugin("com.typesafe.play" % "sbt-fork-run-plugin" % "2.4.0")
Then project will be able to build.
That's interesting issue since it works for me (TM) on Mac OS X 10.9.3 with Java 7.
I downloaded the versions of Play - the latest 2.3.1 and the latest in 2.2.x stream - 2.2.3. With these two versions I've used activator (2.3.1) to create the web application and play for 2.2.3. Both worked well.
When I executed sbt compile in 2.3.1 and then 2.2.3, both commands worked fine, too. It took me some time to have all the dependencies downloaded, but at the end the results were as follows:
jacek:~/sandbox/play231-app
$ sbt compile
[info] Loading project definition from /Users/jacek/sandbox/play231-app/project
[info] Updating {file:/Users/jacek/sandbox/play231-app/project/}play231-app-build...
...
[info] Done updating.
[info] Compiling 5 Scala sources and 1 Java source to /Users/jacek/sandbox/play231-app/target/scala-2.11/classes...
[info] 'compiler-interface' not yet compiled for Scala 2.11.1. Compiling...
[info] Compilation completed in 14.895 s
[success] Total time: 200 s, completed Jun 25, 2014 1:00:18 PM
And for 2.2.3:
jacek:~/sandbox/play223-app
$ sbt compile
[info] Loading project definition from /Users/jacek/sandbox/play223-app/project
[info] Set current project to play223-app (in build file:/Users/jacek/sandbox/play223-app/)
[info] Updating {file:/Users/jacek/sandbox/play223-app/}play223-app...
...
[info] Done updating.
[info] Compiling 5 Scala sources and 1 Java source to /Users/jacek/sandbox/play223-app/target/scala-2.10/classes...
[info] 'compiler-interface' not yet compiled for Scala 2.10.3. Compiling...
[info] Compilation completed in 19.626 s
[success] Total time: 45 s, completed Jun 25, 2014 3:15:34 PM
I'm using sbt 0.13.5 installed using homebrew.
$ sbt --version
sbt launcher version 0.13.5
$ java -version
java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
Play 2.3 app is supposed to be built using activator, to ensure proper sbt configuration. Best
I had the same issue. Make sure that you are using the java-8 version.
I was using java-7, changing to java-8 fixed my problem.