Giter Site home page Giter Site logo

No device found error about adb-idea HOT 6 CLOSED

pbreault avatar pbreault commented on September 23, 2024
No device found error

from adb-idea.

Comments (6)

pbreault avatar pbreault commented on September 23, 2024

Does the second project works correctly if you open it first? Or does the plugin never ever works with this project?

And can you see anything different in this project? Like is it an android auto/tv/wear project? What version of the gradle plugin are you using, etc.

And when you say android ddms, you mean the "Android" panel in android studio or do you mean that you started Android Device Monitor (formerly known as ddms) ?

Thanks!

from adb-idea.

emakovsky avatar emakovsky commented on September 23, 2024

The plugin never works with this particular project.
It uses gradle version 1.1.3 and it's a usual android project like others.

I named ddms a panel in android studio because it has a title "android ddms".
Actually it doesn't matter. The device is available and I see the logs.

Is that possible to see some logs or other info which can help to find where is the problem?

from adb-idea.

pbreault avatar pbreault commented on September 23, 2024

That's an interesting bug.
Sadly there is no log for this, in case of an error it will display the error message and that's pretty much it.

Looking at the code, the things that might cause this would be if it can't find/parse the package name.
Are you modifying the package name dynamically in your build.gradle?

Is your project available somewhere so that I can check this out? Or maybe a version with pretty much everything stripped out that still shows the bug?

from adb-idea.

trinitron01 avatar trinitron01 commented on September 23, 2024

I have got the same problem, basically it doesn't work in a project that was imported from eclipse and it has a slightly different folder structure than a typical project that was created from scratch in Android Studio.

from adb-idea.

pbreault avatar pbreault commented on September 23, 2024

Which version of Gradle and Android Studio are you using?

Any chance that you can send me a sample project using the same Gradle file and structure so that I can repro and fix it?

from adb-idea.

trinitron01 avatar trinitron01 commented on September 23, 2024

Android Studio 1.2.2

com.android.tools.build:gradle:1.2.3
compileSdkVersion 22
buildToolsVersion "22.0.1"

Unfortunately I can't send you any samples. However apart from being imported from eclipse I actually don't see any significant differences that could affect it in any way. It's a Project with single android application module.

from adb-idea.

Related Issues (20)

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.