Git Product home page Git Product logo

adt's Introduction

ADT

An updated version of the Android Developer Tools (ADT) plugin for the Eclipse IDE.

About

Android Developer Tools (ADT) is a plugin for the Eclipse IDE that extends the capabilities of Eclipse to let the user create Android applications. It was originally developed by Google. Support for this plugin has ended when they started working on their new IDE project called Android Studio.

The Android Studio IDE is currently not as mature as the ADT Eclipse plugin was especially when it comes to compile and debug native C/C++ applications using the NDK. This update is based on an unreleased 24.2.0 version of ADT and adds support for native development and debugging with the latest NDK releases supporting all known CPU architectures.

Changelog

Version [24.2.0-20160729]

  • Fixed output parsing of adb shell commands on Android Nougat. ADT now recognizes devices with Android 7.0 and lets you debug applications on the latest Android preview release.
  • Tested with the latest beta version of the NDK (r13 beta 1).

Version [24.2.0-20160716]

  • Added support for the latest Eclipse version (Neon).
  • Added some missing paths to the generated gdb command file gdb.init.
  • Tested with the latest NDK version (r12b).
  • Used the GitHub release feature to upload binary files.

Version [24.2.0-20160515]

  • Added support for the upcoming NDK r12 (tested with r12 beta 1). Do not use r11 for native debugging as it came with a broken gdb support.
  • [gdb] Added a new generated gdb command file gdb.init replacing the old gdb.setup. The file adds the "set solib-absolute-prefix" command to support newer versions of gdb. You can also switch back to the old generated command file or use a custom one.
  • [gdb] Added pulling of additional files from the device: linker, libm.so and libdl.so.
  • Disabled rendering the graphical layouts when using an unsupported API level (Marshmallow and above). Use a different API level to design your UI.
  • Reduced the package size down to ~16MB by only keeping the recompiled files. Eclipse will download the needed files just like a boss :)
  • Added a shell script src/optimize-adt.sh to optimize the package size once it is generated.
  • Compiled with JDK 1.8 (1.6 previously).

Version [24.2.0-20160319]

  • Added support for NDK r11.
  • Improved the installation procedure of gdbserver on device.
  • Removed binary files from Git LFS and added an external download link for each release.

Version [24.2.0-20160214]

  • Based on ADT version 24.2.0.
  • Added support for native debugging of 64-bit applications on 64-bit CPU architectures (arm64-v8a, x86_64, mips64).
  • Added support for native debugging of 32-bit applications on 64-bit CPU architectures.

Frequently Asked Questions

How to patch the original source code?

First, you will need to install the prerequisites for your platform. There are quite a few steps here, and it's all platform dependent, so go to the official build instructions:

Now, you need to get the source code of the ADT version 24.2.0 by checking-out the Android Studio 1.2 release "closed" branch:

repo init -u https://android.googlesource.com/platform/manifest -b studio-1.2-release
repo sync

After that, you must update the sources by applying a patch to the checked-out version. The patch is available at src/ADT-24.2.0-YYYYMMDD.patch (where YYYYMMDD is the release date of the patch). Make sure you place the patch file inside the Android Studio's root directory. Use the following command to patch the sources:

patch -p1 < ADT-24.2.0-YYYYMMDD.patch

Which Eclipse version do I need to use?

The ADT plugin was tested with the latest Neon (4.6) version of the Eclipse IDE. It should also be compatible with older versions starting from Juno (4.2).

Why GDB quits when I try to add a breakpoint?

Enable the non-stop mode in GDB by activating the corresponding option at Preferences -> C/C++ -> Debug -> GDB.

Why do I get the message "com.android.ddmlib.SyncException: Permission denied"?

This is because the ADT plugin was unable to get the application installation directory on your device. The "run-as" adb shell command used to get the application path fails on some known devices such as those from Samsung. See the related issue on the Android issue tracker at: https://code.google.com/p/android/issues/detail?id=206581. We suggest you to use another device to debug your application.

Where do I get the download link of the latest release?

You can download it from GitHub in the releases section. The file name format is ADT-24.2.0-YYYYMMDD.zip.

Where do I get the download link of an older release?

You can find all of the plugin releases archived on my personal server at: http://khaled-lakehal.com/ADT/.

adt's People

Contributors

khaledev avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.