Manual to Compile Android for PINE46
#15
(05-24-2016, 08:19 AM)IlyaM Wrote: And what is tulip_chiphd?


Sent from my iPhone using Tapatalk

Don't know.

(05-24-2016, 11:39 AM)lvcargnini Wrote:
(05-24-2016, 05:26 AM)NGC6691 Wrote: @lvcargnini: I suggest you to downgrade to java 7, Android 6 isn't ready yet to be compiled with java 8 by default.
AFAIK there isn't any official github tree.

I'm on a Mac OSX, in fact there is some changes to be made on Mac side, the most important one is adding teh following into your android_profile file for bash variables:
export ANDROID_JAVA_HOME=`/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java_home`
Of course there is a new error after this:
Starting build with ninja
ninja: Entering directory `.'
ninja: error: 'out/target/product/tulip-p1/obj_arm/SHARED_LIBRARIES/libMemAdapter_intermediates/export_includes', needed by 'out/target/product/tulip-p1/obj_arm/SHARED_LIBRARIES/camera.tulip_intermediates/import_includes', missing and no known rule to make it
make: *** [ninja_wrapper] Error 1

What do I need to copy over form the A64**.zip file into the main AOSP repository ?
I'm trying to compile with the new code of Android., since the tools seem a bit more polished to work with.

You can't copy nothing.
I will try to explain as better as I can. (my english isn't so good)

The first BIG problem; The SDK it's a zip file and the zip does not store unix file permissions so we need to restore the execution bit to all *.sh, *.py, bash files with no .sh extension and all the 32 and 64 bit binary files after the unzip.

But that's not all, for unknow reason they (who?!) removed all the git repository of AOSP source code from all the projects, ~500 projects, so if you want to get newest build you must add back all the AOSP git by hand.

But that's not all, for unknow reason they (who?!) removed the whole git commit log from all the projects so we don't know what they have modified.

My point of view is that if a team member can provide us a proper SDK, ok, otherwise I think I will sell my PINE64 because it's pretty useless to work on it without a proper Android SDK.

Maybe I'm wrong but I think that your problems are related with the execution bit of some files.


Messages In This Thread
Manual to Compile Android for PINE46 - by IlyaM - 05-24-2016, 06:59 AM
Manual to Compile Android for PINE46 - by IlyaM - 05-24-2016, 08:19 AM
RE: Manual to Compile Android for PINE46 - by NGC6691 - 05-27-2016, 11:17 AM
Manual to Compile Android for PINE46 - by IlyaM - 06-01-2016, 05:26 PM
Manual to Compile Android for PINE46 - by IlyaM - 06-22-2016, 12:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Android 6.0 Tablet and TV (release candidate, maintained) ayufan 228 426,029 12-29-2020, 01:13 AM
Last Post: firmwarefile
Shocked Remote for Android? liodra 18 32,716 12-23-2020, 06:11 AM
Last Post: Learnincurve
  Adding an accelerometer to Android modsbyus 11 18,571 11-02-2020, 08:12 PM
Last Post: Little_Johnny
  Android Things OS dqvsra 2 7,603 12-03-2019, 09:52 AM
Last Post: hangglider
  Is there another link for Android images? Maalth 3 7,746 10-10-2019, 07:57 AM
Last Post: tophneal
Question Android SDK Oreo NGC6691 2 6,176 07-15-2019, 08:29 PM
Last Post: dazza5000
  Putting Android 9 RockPro64 source into easier to manage repositories dazza5000 0 3,644 07-15-2019, 08:29 PM
Last Post: dazza5000
  Android 5.1.1 TV (old-stable, no longer maintained) ayufan 194 285,279 03-12-2019, 04:53 PM
Last Post: neosapien
  Issues with SD Card and Running Android Twistedx 0 3,835 02-26-2019, 11:58 AM
Last Post: Twistedx
  Android 7.1 (PINE A64(+)) pineadmin 59 115,538 02-10-2019, 07:44 PM
Last Post: mmmarcus

Forum Jump:


Users browsing this thread: 1 Guest(s)