GithubHelp home page GithubHelp logo

Comments (7)

mashbridge avatar mashbridge commented on May 11, 2024

are you importing as an existing project, or trying to import it into something else? it has to be as an existing project.

if not, have you edited anything? under "android application" where you have "Android Beacon" i think it should just say "app". (the string "Android Beacon" doesn't appear anywhere in the source which makes me think it's something you've changed.)

from beacon-platform.

harryhow avatar harryhow commented on May 11, 2024

Yes, i'm importing existing project. I added 'Android Beacon' because of when I Run -> Run 'App', I see this

screen shot 2015-12-10 at 3 31 37 pm

It looks like I have to add a configuration in order to build, so that I add 'Android Application' under the name of 'Android Beacon'. This is where I showed you.

I also tried to start over again, clone a new repo from here and re-import from the existing project. Still no luck, thanks for helping out.

from beacon-platform.

mashbridge avatar mashbridge commented on May 11, 2024

What version of android studio are you using?

Sent from my mobile device
On 10 Dec 2015 8:50 p.m., "Harry Chen" [email protected] wrote:

Yes, i'm importing existing project. I added 'Android Beacon' because of
when I Run -> Run 'App', I see this

[image: screen shot 2015-12-10 at 3 31 37 pm]
https://cloud.githubusercontent.com/assets/693098/11727985/367b734a-9f55-11e5-9e42-b7033fdbeeb5.png

It looks like I have to add a configuration in order to build, so that I
add 'Android Application' under the name of 'Android Beacon'. This is where
I showed you.

I also tried to start over again, clone a new repo from here and re-import
from the existing project. Still no luck, thanks for helping out.


Reply to this email directly or view it on GitHub
#24 (comment)
.

from beacon-platform.

harryhow avatar harryhow commented on May 11, 2024

Android Studio 2.0 Preview 2
screen shot 2015-12-10 at 6 57 21 pm

from beacon-platform.

mashbridge avatar mashbridge commented on May 11, 2024

ah, you're on the bleeding edge. i'll update my world here later today and see what's happening. i wouldn't be shocked if there has been a breaking change or two :-)

from beacon-platform.

harryhow avatar harryhow commented on May 11, 2024

Thanks @mashbridge. Let me know if you want to test something on my side.

from beacon-platform.

mashbridge avatar mashbridge commented on May 11, 2024

I installed the latest 2.0 3b build (linux) of Studio from http://tools.android.com/download/studio/canary/latest and tried opening the BeaconServiceDemoApp project. After indexing for a while it failed because it couldn't load one of the .iml files. (I'm not too surprised the files are incompatible -- the build structure of 2.0 is very different and often enough a major version bump implies some level of backwards incompatibility.)

I closed studio, deleted the current build state with cd BeaconServiceDemoApp && rm -rf .gradle local.properties .idea build captures *.iml app/*.iml app/build, opened studio again and re-imported the project. Then it worked fine.

You may not need to blow away your entire state -- it may just be the .iml files that need to be deleted. But it seems easy enough to get things working now. Hope that helps!

from beacon-platform.

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.