Okay, I know this is a Noob question but I cant see to get it figured out! I'm trying to get the Android-ViewPageIndicater library imported to Eclipse, but it doesn't have a LIB file to add, and I cant figure out how to import the library folder because Eclipse says theres no project in it! Does anyone know how to do this? Thanks
I was facing the same issue. The solution is
1>Create a new android project with existing source (Select that library folder)
2> Mark that project as library
Later you can use this library for other projects
Related
I'm having issues including bukkit/spigot/paper into my Eclipse since when I try "extends JavaPlugin" in my Class it does not seem able to import the file
I have tried versions of craftbukkit, spigot and paper on several occasions but it just does not seem to work:
From all the online tutorials I have seen, I have noticed that on their versions of eclipse the "Modulepath" and "Classpath" headings do not seem to be there, but for me they are right there:
Could someone please tell me how to fix this issue?
I'm using Intellij IDEA and there is a plugin that create all the file on it, if you really want a clean environment use this to create your project and go back on eclipse after, i can create it and send you the main folder if you can provide you paper version that you want
You cannot use paper as a External JAR. Instead download Bukkit or Spigot from the internet (or use BuildTools to compile your own jar file), and use those instead of paper.
I have no idea how to get MigLayout to work in IntelliJ (I'm sort of a noob at IntelliJ). I am currently using the 2017.3.5 community edition.
I've downloaded the jar file, but I can't seem to import it correctly.
I have import net.miginfocom.swing.MigLayout; at the top of my main file, but
when I try to compile my code, I keep getting an error
Error:(40, 30) java: cannot access net.miginfocom.layout.LC
class file for net.miginfocom.layout.LC not found
Any idea what I'm doing wrong?
Also include the core lib. You can get it here
Sorry for late. But it will help somebody.
IntelliJ Idea will allow to download a maven dependency as a Jar file under the lib folder.
Try:
File->Project Structure->select Modules on the left-> choose the Dependencies tab-> find the + either at ther right or bottom-> add the .jar
In the past I could load a github program to work in my android studio program but with the last update either I went full stupid or something is wrong. I am trying to get this https://github.com/barteksc/AndroidPdfViewer in my program and I am adding my compile in my app and downloading and unzipping the program. When I add the view to my app it breaks. I hope you guys can help because I feel a bit crazy at the moment.
Thank you.
If you are trying to load the project, you may import as a eclipse project to migrate to AS + gradle.
If you are trying to use as library, AndroidStudio made it difficult to add libraries that are not as a artefact loaded by gradle.
So usually you find the gradle dependency into the project page and add it into your gradle, in your case it is exactly:
compile 'com.github.barteksc:android-pdf-viewer:2.7.0'
Ok so I want to chisbanes PhotoView.. I'm pulling my hair out now, Been staring at the screen for over an hour and for the life of me, I cannot figure out how to get this to even import into eclipse.
I've downloaded the git so I have my PhotoView-master folder with plenty of things in there (Looks like a project tbh). But no jar?
I came across this question which was marked as answered but I simply could not figure this one out.
Android : import libraries Like PhotoView
I went through this
http://developer.android.com/tools/projects/projects-eclipse.html#ReferencingLibraryProject
But once again, there's nothing even available for me to add.
Anyone know what I need to do to actually get this loaded into eclipse and ready to reference?
Cheers in advance
Ok so I managed to get it working after hours slaving away at the screen.
First you need to move everything under the java/uk folder to the src/ folder in Eclipse. Once you do it the src/uk/... should look as normal. Next you need to go the project properties, click on Android and then change the Target Build Path to match the project you will be importing the library into.
Then just follow the instructions on the android dev webpage and then you should be able to reference the required files.
Working with library is a pain in android.
Photo view is not a jar library it is a referenced library. so you have to download the zip and import it inot ecllipse. Also if the library is built using Android Studio then you have to change folders to make it work. For eg the source code in Android Studio is in java folder while in ecllipse it is in src.
Hi there I am trying to impor the facebook sdk project into Eclipse EE Kepler but I always get this stupid error about the import that doesn't found..
import com.facebook.android.R;
I already deleted project and add it again..
I already comment the classes with errors to see if the file would be generated..
I already restarted eclipse..
I already right-clicked the project and select Android Tools > Fix Project Properties
I already clean the problem..
Any thoughs on how to fix this?
Thanks alot in advance..
The problem was that I didn't had the Android SDK Build-tools installed on my eclipse, installing the last version solved the problem. The Gen files are now generated :)
Thanks everyone for the help
I think there is problem with any of your .xml file's error. Just check your res/layout folder. It must be showing error. Open that appropriate .xml file that shows the error. May be your missing some of your resources. Try to solve that error and then clean the project and it's done.