Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[General] Ubuntu version for development workstation

43

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
43

【General】 Ubuntu version for development workstation

Posted at 11/7/2018 01:46:35      View:3705 | Replies:7        Print      Only Author   [Copy Link] 1#
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?
Reply

Use props Report

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 11/8/2018 19:34:39        Only Author  2#
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.
Reply

Use props Report

43

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
43
Posted at 11/8/2018 19:48:53        Only Author  3#
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.
Reply

Use props Report

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 11/9/2018 10:08:23        Only Author  4#
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 .
Reply

Use props Report

43

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
43
Posted at 11/9/2018 18:23:21        Only Author  5#
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,
Reply

Use props Report

43

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
43
Posted at 11/9/2018 18:24:09        Only Author  6#
sen t up -> set up
Reply

Use props Report

263

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
263
Posted at 11/15/2018 09:47:59        Only Author  7#
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

Reply

Use props Report

43

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
43
Posted at 11/16/2018 01:02:10        Only Author  8#
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?
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list