-
Notifications
You must be signed in to change notification settings - Fork 9
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 problem #12
Comments
I usually get a weird compile error like that when my java version was set to low. Granted your using Ant, but in Eclipse, it would default to like Java 1.5. It would say it couldn't find a ton of symbols unless I changed it to 1.6. Also, make sure you have the support library. |
java -version says 1.6. i copied to ABS support lib to libs/ but no joy. |
Ok well "BaseAdapter" is a Android function since API level 1. So if I had to pinpoint a problem, I would say your not getting the android framework right? Does ant know where android.jar is? On a side note, |
I hardly know what I'm doing but Ive built 150 apps for f-droid and any failures are I guess down to old repos that were using outdated platform tools. So I can't really add much else I'm afraid. |
Buttink notifications@github.com wrote:
|
Try moving the android.widget.BaseAdapter import above org.sickstache.app.ExpandableLoadingListFragment.EasyExpandableListAdapter.Pair in ExpandableLoadingListFragment |
Do you have to have the source for F-Droid? Can you just use the precompiled apks I made? |
Johno Crawford notifications@github.com wrote:
That works. And no we dont use prebuilt apks, unless its firefox or vlc |
That works. I take it you'll add that change soon, otherwise I'll have to try my hand at awk it looks like. We only use binaries for things like firefox and vlc as well as apps that have been in there since day one. |
You can make your own local changes. It wont affect my repository. You have your own repo that you can make changes to, then if you want ask for a pull request so I will merge them. |
I wont make a request, I was able to make the correction using ed |
Did that actually make it compile? |
yep |
Hopefully fix this because of the move to Maven. |
It's my first time trying maven so I could be missing something easy: Setup:
ERROR:/home/gerry/dalb8s-fdroiddata/build/org.sickstache/app/src/main/java/org/sickstache/task/NotificationsTask.java:[170,43] cannot find symbol |
Make sure your using revision 10 of the android-support-v4.jar. Btw, all you need is |
I'm not sure why, but I had to export the variable. We don't normally get the support jar from the sdk directory because it's platform dependent. Anyway f-droid can't find the apk (common with maven) so we can't update it yet. |
Stick with extras/ for now. It used to be in sdk/android-compatiblity |
The other possibility is to use the maven android sdk deployer and just use a normal dependency. |
F-droid.org has been updated now, but I have only just tested it. I crashes on startup :-( --------- beginning of /dev/log/system |
This is what I used |
I couldn't export ANDROID_HOME for unknown reasons so I had to substitute it in pom.xml |
A class not found exception. I hate these. Have you tried just using maven first, then f-droid? Maybe maven isn't importing the libraries? Even so how come it can't find "HomeActivity." I will think about this some more. |
if I use mvn package without changing anything it crashes too |
Hi, I'm trying to build this for F-droid FOSS repo (which uses ant and platform tools v14). The setup is as follows:
Build Version:2.2.1,42,70d131637,subdir=SickStache,target=android-16,\ update=.;../JakeWharton-ActionBarSherlock-88fc341/library;../ViewPagerIndicator/library;../libSickBeard,\ prebuild=echo "android.library.reference.3=../JakeWharton-ActionBarSherlock-88fc341/library" >> project.properties
javac] Compiling 61 source files to /home/gerry/dalb8s-fdroiddata/build/org.sickstache/SickStache/bin/classes
[javac] /home/gerry/dalb8s-fdroiddata/build/org.sickstache/SickStache/src/org/sickstache/app/ExpandableLoadingListFragment.java:88: cannot find symbol
[javac] symbol : class BaseAdapter
[javac] location: class org.sickstache.app.ExpandableLoadingListFragment<GroupType,ItemType,Params,Progress,Result>
[javac] public class EasyExpandableListAdapter extends BaseAdapter {
The text was updated successfully, but these errors were encountered: