简体   繁体   English

适用于Android SDK / NDK的Ubuntu PPA?

[英]Ubuntu PPA for Android SDK/NDK?

Has anyone bothered to create a PPA for the Android SDK and/or NDK packages? 有没有人打算为Android SDK和/或NDK包创建PPA?

I saw a few things that hinted at this in my Googling, but nothing that jumped out as a preferred solution. 我在谷歌搜索中看到了一些暗示这一点的东西,但没有任何东西作为首选解决方案跳出来。

I'd guess that licensing issues might require it to operate like the flash-installer (or more comparably, the google-earth) package, but it would be very useful. 我猜测许可问题可能要求它像flash-installer(或更具比较性的google-earth)软件包一样运行,但它会非常有用。 The SDK install OOB lacks many of the features that proper package management could bring in (dependencies, multi-user permissions/capability, etc.) SDK安装OOB缺少正确的软件包管理可能带来的许多功能(依赖项,多用户权限/功能等)

你试过Upubuntu的指南吗?

try this , I'm a newbie , working on this. 试试这个,我是新手,正在研究这个问题。 I'm packaging these tools for Gajj Distro, 我正在为Gajj Distro打包这些工具,

For Precise 为了精确

    sudo add-apt-repository ppa:linuxgndu/gajj-sci

And for trusty 而且值得信赖

    sudo add-apt-repository ppa:linuxgndu/adt-raring 


    sudo apt-get update

For Android Developers Tool 适用于Android开发者工具

    sudo apt-get install adt (Google may be ending eclipse plugin support, so this package may not be further maintained on this ppa, however you can check plugin updates from eclipse, using Help-> Install new software-> Then adding or selecting plugin repository.)

You also have to install Android-sdk 您还必须安装Android-sdk

   sudo apt-get install android-sdk

   sudo sh /opt/android-sdk/install-sdk 

(you may skip sudo sh /opt/android-sdk/install-sdk if you are installing android studio, bcz studio will automatically find the sdk on installion(first startup or you can manually set the path).) (如果你正在安装android studio,你可以跳过sudo sh /opt/android-sdk/install-sdk ,bcz studio会自动在安装时找到sdk(首次启动或者你可以手动设置路径)。)

For Android Studio 对于Android Studio

  sudo apt-get install android-studio

Note: You may want to lock package version from synaptic package manager (or any) to prevent from downloading large updates by this ppa, bcz patches provided by Google are very small. 注意:您可能希望从synaptic包管理器(或任何)锁定包版本以防止通过此ppa下载大型更新,Google提供的bcz修补程序非常小。 This ppa is meant for installation purpose only. 此ppa仅用于安装目的。


You can also help me testing my package builds, bcz i'm newbie i don't know that much about ppa & packaging. 你也可以帮我测试我的包构建,bcz我是新手我不太了解ppa和包装。

Hope this is it what you were asking for. 希望这就是你所要求的。 :) :)

I have found no ppa so far, since the Upubuntu ppa is no longer updated and has no package for Quantal. 到目前为止我没有找到ppa,因为Upubuntu ppa不再更新,并且没有Quantal的包。 But there is an android-sdk package in Backtrack Linux' repositories. 但是在Backtrack Linux的存储库中有一个android-sdk包。 As of 2012-12-25, this package claims to be the r20.0.3-bt0 version of the sdk nd there is an x64 build, but since I have not tested it, I know nothing else about it. 截至2012-12-25,这个软件包声称是sdk的r20.0.3-bt0版本,并且有一个x64版本,但由于我还没有测试过,我对此一无所知。

If you want to use this repository, Ubuntubuzz has a tutorial on how to add them to Ubuntu . 如果你想使用这个存储库, Ubuntubuzz有一个关于如何将它们添加到Ubuntu的教程

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM