Firefly Open Source Community

Title: Ubuntu version for development workstation [Print This Page]

Author: clive    Time: 11/7/2018 01:46
Title: Ubuntu version for development workstation
I want to set up a PC as an Android development workstation targetting the Firefly-RK3399.  I want to use it to develop apps for the Firefly and to rebuild the OS images on the Firefly.  On this web page
http://en.t-firefly.com/doc/product/info/id/519.html
it reccomends using Ubuntu 12.04.

Is this really correct? 12.04 is a year and a half past its end-of-life date!

What version is used by the developers in the Firefly team?
Author: leung先森    Time: 11/8/2018 19:34
You can download ubuntu16.04 or higher version.
But it might be something wrong when you complie SDK .
Just solve the problem following the result of the SDK report.
Author: clive    Time: 11/8/2018 19:48
I started by installing the latest LTS that Google use, 18.04, but got compiler errors when building Android.  I wiped everything and installed 12.04 (according to Firefly recommendations), but now I cannot even locate adb!

$ sudo apt-get update
$ sudo apt-cache search android-tools-adb
{no output}
$

I am considering downloading the latest Android Studio from
https://developer.android.com/studio/
but I wonder if that is compatible with such an old Ubuntu installation (12.04)?

Ideally I want to setup a system that matches what works best for the Firefly developers.  Is there a document that specifies this, please?

Thanks.

Author: leung先森    Time: 11/9/2018 10:08
clive Posted at 11/8/2018 19:48
I started by installing the latest LTS that Google use, 18.04, but got compiler errors when building ...

adb.rar (3.6 MB, Down times: 0)


Copy the adb under the path you can execute .

Author: clive    Time: 11/9/2018 18:23
I have now insralled Ubuntu 14.04, and adb is available for that.

What version of Ubuntu is used by the Firefly-RK3399 developers?  I want to sen
t up my development workstation as close as possible to those of the Firefly developers.  I keep asking this question, but I'm not getting the answer.
Thanks,
Author: clive    Time: 11/9/2018 18:24
sen t up -> set up
Author: luvings    Time: 11/15/2018 09:47
ubuntu 16.04,
1. sudo apt-get install android-tools-adb

2.
mkdir -p ~/.android
vi ~/.android/adb_usb.ini
# 添加以下一行
0x2207

3.  
sudo vi /etc/udev/rules.d/51-android.rules
# 添加以下一行:
SUBSYSTEM=="usb", ATTR{idVendor}=="2207", MODE="0666"

4.
sudo udevadm control --reload-rules
sudo udevadm trigger

5.
sudo adb kill-server
adb start-server


Author: clive    Time: 11/16/2018 01:02
Thank you. I have already installed abd (it was available for Ubuntu 14.04).

My question is:
What version of Ubuntu is used by the Firefly-RK3399 developers?




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1