Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build still fails #11

Closed
lfuelling opened this issue Oct 18, 2013 · 23 comments
Closed

Build still fails #11

lfuelling opened this issue Oct 18, 2013 · 23 comments

Comments

@lfuelling
Copy link
Contributor

I don't know if I' doing something wrong, but if I try to build the Project, it still fails.

Here is the Console ouput.

unbenannt

@bitbrain
Copy link
Owner

This is a very a veery strange bug. Can you try to fix it via google?

@bitbrain
Copy link
Owner

I guess the jar android-support-v4.jar is corrupted. I'll have a look over it!

UPDATE

I found some information on stackoverflow.com, maybe you just have to clean up your project. Please tell me, if you could fix the problem.

@lfuelling
Copy link
Contributor Author

No, cleaning didn't work.
I downloaded it again and now it's just unable to find the library.

@bitbrain
Copy link
Owner

I think I found the root of all evil: You have to import the library project from SlidingMenu/bin/library instead of SlidingMenu/library. I try it out and correct the guide afterwards.

UPDATE 1

Can you check if the imported library project contains an R.java file in the gen folder? Does your library project pull up any kind or error? In general, Eclipse is going to build the library project, afterwards the magicwizard-android project handles the library project as a jar (library.jar). As a result, it's something wrong with the compilement of the library project, when the jar file couldn't be found.

UPDATE 2

I'm using a 64 bit linux architecture (Ubuntu 12.04.3), for that case you need to follow this guide. To sum up, IF your R.java isn't generated by your IDE, type the following in the terminal:

sudo apt-get install ia32-libs

I'm going to add that to the README.md

@lfuelling
Copy link
Contributor Author

Yes, there is such a file.

Multiarch is set up too. (I was able to build the older version which didn't had the sliding menu.)

But I didn't import the /bin/ stuff. Maybe this will help.

@bitbrain
Copy link
Owner

I rebuilt the whole project yesterday (without using the project in /bin/ folder) and it worked for me pretty well. Have you installed the needed android versions as well? Which operating system is currently in use?

@lfuelling
Copy link
Contributor Author

I'm using 32bit Linux now and I'm still unable to get it to work.

@bitbrain
Copy link
Owner

What's the exact output/problem? Has the library project errors in Eclipse?

@lfuelling
Copy link
Contributor Author

It looks like this right now.

selection_002

@bitbrain
Copy link
Owner

Why is the name of your project 'MainActivity'? My project is called 'magicwizard-android'. You only need to clone this repository, switch to the 1.2 branch and open the main project with eclipse. I think that could be the root of all evil.

@lfuelling
Copy link
Contributor Author

That's what I did.
Well I imported it.

@bitbrain
Copy link
Owner

Very strange. When you go to: Eclipse -> File -> Import... and select the repository folder magicwizard-android then Eclipse opens the project as MainActivity? Never seen something like that before o.O

@lfuelling
Copy link
Contributor Author

Well I choose "File > Import > Code Form existing project".

It is/was like this the whole time.

Miguel Gonzalez notifications@github.com schrieb:

Very strange. When you go to: Eclipse -> File -> Import... and
select the repository folder (magicwizard-android) then Eclipse
opens the project as MainActivity? Never seen something like that
before o.O


Reply to this email directly or view it on GitHub:
#11 (comment)

Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

@bitbrain
Copy link
Owner

Well, try something else: File -> Import.. -> General -> Existing Projects into Workspace

@lfuelling
Copy link
Contributor Author

Okay, I'll try that.

Miguel Gonzalez notifications@github.com schrieb:

Well, try something else: File -> Import.. -> General -> Existing Projects into Workspace


Reply to this email directly or view it on GitHub:
#11 (comment)

Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

@lfuelling
Copy link
Contributor Author

Still the same error.

@bitbrain
Copy link
Owner

Mh okay. What's the name of your project? Is it still MainActivity or magicwizard-android? Have you made Clean project after moving to the 1.2 branch?

@lfuelling
Copy link
Contributor Author

MainActivity.
Yes I did. I also tried switching the branch before importing which doesn't work either.

@bitbrain
Copy link
Owner

Very strange. I think you're on your own then. Never seen something like that before o.O

@bitbrain
Copy link
Owner

I finally found the root of all evil: It's Google's ADT IDE! I think because of version mismatch. Had downloaded the Android SDK and got the same error as you. I'm using Eclipse 4.3 Kepler with the ADT plugin. That should fix your problem!

@lfuelling
Copy link
Contributor Author

Okay, I'll try that. Thanks 👍

@lfuelling
Copy link
Contributor Author

If it works this way, it would be good to add this info to the readme.

@bitbrain
Copy link
Owner

Thanks for your contribution! I'm gonna add it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants