View: 14527|Reply: 18

plz help me. android 4.4 for orang pi plus build fail

[Copy link]

1

threads

5

posts

19

credits

Novice

Rank: 1

credits
19
Published in 2015-7-16 10:48:40 | Show all floors |Read mode
I am now work compiling android 4.4 source code for orange pi plus
source code download from baidu for orange pi plus( H3-homlet-1.0.tar.gz )

1. build mkimage is done !!

$cd ./lichee/brandy/u-boot-2011.09
$make sun8iw7p1_config
$make
$sudo cp ./tools/mkimage /usr/local/bin/mkimage
$sudo chmod 777 /usr/local/bin/mkimage


2. build kernel is done !!
$cd lichee
$./build.sh config
-> choice 2(sun8iw7p1), choice 0(android) -> Enter


3.Building android----------------------------
$cd ../android
$source ./build/envsetup.sh
$lunch
$1
$extract-bsp
-don't have makefile so copy from another android source code makefile-
$make -j2


and error happen

just like this

make: *** No rule to make target `out/target/common/obj/JAVA_LIBRARIES/external_intermediates/javalib.jar', needed by `out/target/product/generic/dex_bootjars/system/framework/external.odex'.  Stop.
make: *** Waiting for unfinished jobs...


what should I do ??


Published in 2015-10-13 18:12:13 | Show all floors
fritz replied at 2015-10-13 03:35
Don't waiste your time with this old SDK!
I was able to build it sometime ago on an old ubuntu 12.04 ...

Ok, "don't waste your time", but in other hand, how to complie android, is anybody has succeeded ?
Orange PI PC

1

threads

5

posts

19

credits

Novice

Rank: 1

credits
19
 Author| Published in 2015-7-16 10:50:46 | Show all floors
Edited by taeinsoul at 2015-7-16 10:55

source code is https://mega.nz/#!qk40XKKa!aqmdrXS23hl63HgU5B2tmEbkNj9uELrO-SlpEG7wdv8

0

threads

4

posts

72

credits

Registered member

Rank: 2

credits
72
Published in 2015-10-12 19:19:04 | Show all floors
Hi taeinsoul,

I am facing the same issue, but can not find any solution.
Did you receive any solution, maybe in private message, or manage to go forward ?
Please, let me know if you succeeded in building android with H3-homlet-1.0.tar.gz archive.

5

threads

354

posts

2698

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2698
Published in 2015-10-13 03:35:51 | Show all floors
Don't waiste your time with this old SDK!
I was able to build it sometime ago on an old ubuntu 12.04 installation with some issues.
I can not remember the various steps, but I think it is not worth.
Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

0

threads

4

posts

72

credits

Registered member

Rank: 2

credits
72
Published in 2015-10-23 17:47:50 | Show all floors
Thank you for your reply.
I was working with the Draco SDK, and finally succeeded in compiling it.
Many things does not work, such as ethernet and wifi, but now that i know that it is possible to compile it, i will try to make at least one of them work.
Published in 2015-10-23 18:09:03 | Show all floors
Edited by darqoq at 2015-10-23 16:26

@didierg
Could you post build steps ? and share your future progess ?
Orange PI PC

0

threads

4

posts

72

credits

Registered member

Rank: 2

credits
72
Published in 2015-10-29 00:19:08 | Show all floors
Hi darqoq,

Here is what I did :

for the begining (lichee), it is the same, no problems encountered.

Android part :
==========
  1. cd android
Copy code


create missing Makefile in android :

  1. ### DO NOT EDIT THIS FILE ###
  2. include build/core/main.mk
  3. ### DO NOT EDIT THIS FILE ###
Copy code

i prebuilts/ndk/current/platforms/android-8/arch-arm/usr/include/signal.h

comment the line :
  1. //#include <limits.h>           /* For LONG_BIT */
Copy code

Add the following before __BEGIN_DECLS :

  1. #ifdef __LP64__
  2. # define LONG_BIT       64
  3. #else
  4. # define LONG_BIT       32
  5. #endif
Copy code

=> there is an error which says that LONG_BIT is not defined but in fact, it is in limits.h
   copying define section from limits.h seems to fix the problem. However, very strange, still don't understand why it does not work ?

  1. . build/envsetup.sh
  2. extract-bsp
  3. lunch
  4. => menu 7 (dolphin...)
  5. extract-bsp
  6. make -j8
  7. extract-bsp
Copy code

(don't know exactly when to call extract-bsp, so doing it many times )
pack

and install to SD Card

NOTE : I could not configure network (Ethernet or Wifi)
Published in 2015-10-29 01:09:51 | Show all floors
didierg replied at 2015-10-28 17:19
Hi darqoq,

Here is what I did :

@didierg: Thanx, I will try it.
Orange PI PC
Published in 2015-10-29 20:11:24 | Show all floors
didierg replied at 2015-10-23 10:47
Thank you for your reply.
I was working with the Draco SDK, and finally succeeded in compiling it.
M ...

Could you post link to Draco SDK ?
Because link founded on this forum (http://www.orangepi.org/orangepi ... wthread&tid=304)
doesn't work.

Orange PI PC
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list