| Issue 112: | Error compiling Mixare in Eclipse | |
| 4 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1.Import Mixare to Eclipse 2.Fix project properties 3.Error appear! What is the expected output? What do you see instead? Cannot be solved to a type. What version of the product are you using? On what operating system? Eclipse Clasic SDK Version: 3.7.2 Build id: M20120208-0800 and Android SDK R18 / Tested in windows 7 32&64 bits. Please provide any additional information below. "Camera cannot be resolved to a type" and many others(573 exactly) with the same description (cannot be resolved to a type). Does anyone fix it? help me please...
May 8, 2012
Project Member
#1
abdu.e...@gmail.com
Labels:
Version-AndroidRelease0.8
May 8, 2012
Hi, thanks for comment! Following the Getting Started Guide (https://code.google.com/p/mixare/wiki/GettingStarted) in the step to import a library, the options described in this guide don't appear: "you have to convert mixarelib into a android library project, you can do that by richtclicking on the mixarelib -> go to properties -> select android -> scroll down -> and then check the "is Libary" checkbox." I'm using: Eclise Eclipse Classic 3.7.2 (Indigo) Android SDK R18 ADT 18 Windows 7 64 bits Thanks for any help!
May 8, 2012
Hi , check these options: 1-Do you have Android (AND google) API 10 installed? window -> Android SDK Manager -> API 10. 2- Import MixareLibrary as separate project: If you have Mixare setup as project. (that's prefect) right click on "plugins/mixare-lib" -> import -> "Exiting projects into workspeace" -> select root "/path/to/mixare/plugins/mixare-library" -> finish. Regards, AB
May 8, 2012
to follow, 3- on the new project, mixare-library, You should run ant on build.xml. this will generate jar file. 4- refersh and clean mixare, main project, and you should be able to see: "you have to convert mixarelib into a android library project, you can do that by richtclicking on the mixarelib -> go to properties -> select android -> scroll down -> and then check the "is Libary" checkbox." 5- refeash and clean mixare again. 6- enjoy.
May 8, 2012
Thanks for your help! Unfortunately I still have some errors... i don't know what i'm doing wrong. First, i'm importing "mixare-library" as a project, some errors appear: Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties. Project 'mixarelib' is missing required source folder: 'gen' If i create the folder "gen" into "mixare-library" folder, the same error is still appear: Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties. I'm followed the instructions and generate the jar file, and converted the "mixare-library" project to as a library in properties, and not work. Importing the main project mixare (downloaded from https://github.com/mixare/mixare/tree/development a few minutes ago) shows this: Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties. Project 'mixare' is missing required source folder: 'gen' If i create the folder "gen" into "mixare-library" folder, A LOT of errors appear... sincerely i'm lost... Any ideas? thanks for your attention PD. A screenshot of errors
May 9, 2012
Hi I think I found the solution, it has probably to do with a x64 jvm and eclipse on a 32bit android sdk. http://stackoverflow.com/questions/7637144/android-requires-compiler-compliance-level-5-0-or-6-0-found-1-7-instead-plea right-click on your project and select "Properties -> Java Compiler", check "Enable project specific settings" and select 1.5 or 1.6 from "Compiler compliance settings" select box. Good luck,
May 9, 2012
Thanks a lot! all errors disappeared! But i have one error launching the simulator... i don't know what it means... I don't have errors but i can't install the application, in a mobile device i will get the same error?
May 10, 2012
I would not recommend running the application on simulator, because it requires camera + accelerometer + GPS, which they are hard to get them work on simulator. On the other hand, I notice that the simulator that you are trying to run the app on is android 2.2, (which is ok and the app should be compatible to that version), however the main target is API 10 which is android 2.3. best of luck, A B
May 11, 2012
I get another error! "Android Library projects cannot be launched" I'm tired!! does anyone can give me a copy of your installation please?
May 11, 2012
Hi, You have made the mixare (core) app, a library project. Please unselect "Is library" in that project. Right click on mixare -> go to properties -> select android -> scroll down -> uncheck"is Library"
Jun 29, 2012
HI, I am facing problem in the package org.mixare.lib.service. The files in the packages are .aidl files which are not getting resolved. Thanks Edison
Sep 7, 2012
hello guys Please help me.... I am using Windows 7 32bit, and Eclipse Helios. Currently I have changed the java compiler level to 1.6. And I have imported mixare project and mixarelib as well. But, I can't fix the problem. 1. Mixare project cannot set the mixarelib project as library 2. Mixarelib project cannot change as a lib, even if I change it in properties, but it said error. So i frustated to change the mixarelib project as a lib, it won't change and give me an error. So I can't compile the mixare project itself Your answer will be very appreciated, hopefully I can finish my project with mixare. thank you
Dec 2, 2012
I posted a tutorial on my blog: http://sashageekette.wordpress.com/2012/12/02/getting-started-with-mixare-on-eclipse/
Jan 3, 2013
Hi, I have a different type of errors, when I clean the project i got theses errors. Its all about the R.java file |