-
Notifications
You must be signed in to change notification settings - Fork 446
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
Fails when building in AOSP #106
Comments
Translations are imcomplete as of now. Kindly remove the values-* from the res/ folder and try building it.Also make sure that you have ActionBarSherlock library setup |
Didn't work, still the same errors with all the res/values-* folders On Thu, Mar 7, 2013 at 10:00 PM, Umakanthan Chandran <
|
packages/apps/AFWall/res/menu/menu_bar.xml:8: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/abs__ic_menu_moreoverflow_normal_holo_dark'). This line indicates that you don't have ActionBarSherlock project linked to AFWall+. That library is required for this. Do you have that ? |
I do not, I merely cloned the github repo and tried to build with the On Thu, Mar 7, 2013 at 10:14 PM, Umakanthan Chandran <
|
OK, you can use and then continue your build.I'll add the clear instructions later. |
When compiling AOSP from source, the standard SDK/NDK isnt available. On Thu, Mar 7, 2013 at 10:24 PM, Umakanthan Chandran <
|
Sure.I'll add the reference to ActionBarSherlock and add them to github. |
Thank you! I think android-lockpattern needs to be added too. On Fri, Mar 8, 2013 at 8:15 AM, Umakanthan Chandran <
|
Yes. Thanks for reminding me. I'll add that too. |
To be honest, I would not go down that route in building AFWall as part of the AOSP build, for reasons:
A much easier method would be to just copy the latest apk, in that way it will update itself automatically without additional prompting. |
You could use the F-droid source build structure to build using androd.mk https://f-droid.org/repository/browse/?fdfilter=AFWall+&fdid=dev.ukanth.ufirewall |
Updated build instructions. It should be easy to build using ant. |
@chr4 , I'll look into it once I come back from vacation. |
any news? I am having trouble to compile afwall during Cyanogenmod build (using "master" branch; beta fails with R.stamp segmentation fault): target R.java/Manifest.java: afwall (/srv/android/android/cm-11/out/target/common/obj/APPS/afwall_intermediates/src/R.stamp) configuration written to .configmake[1]: Leaving directory `/srv/android/android/cm-11/kernel/google/msm' |
I'll make these changes this week and let you know. My box is not enough to build android aosp's. May be If I get a decent one I'll try it. |
I can confirm the segfault in the beta branch:
|
And also on master :( |
Is it possible to get some more logs ? |
I'd love to provide more! Is there anything that I can run to get more verbose logs? This was everything related to afwall on first sight... |
Same as @inhies I can't include ActionBarSherlock when AFWall+ is located in an AOSP/CM build tree. |
@timo-schwarzer, could you post the logs ? alpha_lollipop is the latest code base which is based on gradle/android studio. |
I'm trying to include the in my rom at compile time but it's failing...
I'm not much of a java dev, so hopefully you can make sense of this:
The text was updated successfully, but these errors were encountered: