baaaam / mixare

Automatically exported from code.google.com/p/mixare
0 stars 0 forks source link

Error compiling Mixare in Eclipse #112

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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...

Original issue reported on code.google.com by dpmoro...@gmail.com on 8 May 2012 at 12:45

GoogleCodeExporter commented 8 years ago
Hi, 
What version of mixare did you use? Have you also imported mixarelib.
There has been a new update for mixare since this morning, that auto imports 
the dependencies. Maybe that could solve your problems.

see the development branch
https://github.com/mixare/mixare/tree/development

Original comment by abdu.e...@gmail.com on 8 May 2012 at 8:47

GoogleCodeExporter commented 8 years ago
Hi, thanks for comment!
Following the Getting Started Guide 
(http://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!

Original comment by dpmoro...@gmail.com on 8 May 2012 at 3:43

GoogleCodeExporter commented 8 years ago
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

Original comment by DevBinn...@gmail.com on 8 May 2012 at 8:19

GoogleCodeExporter commented 8 years ago
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.

Original comment by DevBinn...@gmail.com on 8 May 2012 at 8:24

GoogleCodeExporter commented 8 years ago
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

Original comment by dpmoro...@visionartech.net on 9 May 2012 at 3:18

Attachments:

GoogleCodeExporter commented 8 years ago
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,

Original comment by abdu.e...@gmail.com on 9 May 2012 at 3:41

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
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?

Original comment by dpmoro...@gmail.com on 9 May 2012 at 11:35

Attachments:

GoogleCodeExporter commented 8 years ago
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

Original comment by DevBinn...@gmail.com on 10 May 2012 at 7:16

GoogleCodeExporter commented 8 years ago
I get another error!
"Android Library projects cannot be launched"

I'm tired!! does anyone can give me a copy of your installation please?

Original comment by dpmoro...@gmail.com on 11 May 2012 at 5:53

Attachments:

GoogleCodeExporter commented 8 years ago
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"

Original comment by abdu.e...@gmail.com on 11 May 2012 at 6:48

GoogleCodeExporter commented 8 years ago
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

Original comment by edison.r...@gmail.com on 29 Jun 2012 at 8:16

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
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

Original comment by masp...@gmail.com on 8 Sep 2012 at 2:22

Attachments:

GoogleCodeExporter commented 8 years ago
I posted a tutorial on my blog: 
http://sashageekette.wordpress.com/2012/12/02/getting-started-with-mixare-on-ecl
ipse/

Original comment by sasha813...@gmail.com on 2 Dec 2012 at 9:21

GoogleCodeExporter commented 8 years ago
Hi, I have a different type of errors, when I clean the project i got theses 
errors. Its all about the R.java file

Original comment by theee...@gmail.com on 3 Jan 2013 at 6:15

Attachments: