androidthings / sample-googleassistant

Google Assistant API sample for Android Things
Apache License 2.0
467 stars 147 forks source link

Run on Android smartphone #35

Closed WanHonghui204 closed 7 years ago

WanHonghui204 commented 7 years ago

Hi, thanks for the great work!

I'm trying to run this on an Android smartphone and I'm getting the error:

Installation failed with message INSTALL_FAILED_MISSING_SHARED_LIBRARY: Package couldn't be installed in /data/app/com.example.androidthings.assistant-1: Package com.example.androidthings.assistant requires unavailable shared library com.google.android.things; failing!.

Is it easily possible to modify the app to run on an Android smartphone?

Fleker commented 7 years ago

Take a look at the gRPC module, which just contains the protobufs. You'll need to implement a lot of the methods to interact with it, although you won't need to use any drivers.

Ranjith1992 commented 7 years ago

I removed all dependencies of android things,Now it's working fine in android smart phone.

WanHonghui204 commented 7 years ago

Wow, that sounds great! Did you make the code available somewhere?

Ranjith1992 commented 7 years ago

@bluebird11 : Soon I will post all the steps in stackoverflow.

WanHonghui204 commented 7 years ago

Great, please let us know when you do.

Ranjith1992 commented 7 years ago

@bluebird11 : sure.

Fleker commented 7 years ago

We're also refactoring the Assistant integration to make it easier to move around. Should be posted this week.

Fleker commented 7 years ago

Commit b790b0be91b5a743fb847af6a6c95f19459162de puts everything into a single class, making it easier to integrate into other Android devices.

sanchit97 commented 6 years ago

@Ranjith1992 Did you post the code anywhere which removes Android Things dependencies?

sanchit97 commented 6 years ago

@Fleker Is there a version which we can directly run on Android, off-the-shelf?

Fleker commented 6 years ago

No we currently don't have a version that will work solely with a phone.

YinXiuYu commented 6 years ago

I removed all dependencies of android things,Now it's working fine in android smart phone.

@Ranjith1992 Hi,Ranjith , I'm very glad to see you had done such tings. Can you show what steps you had done,or haven't you post the code to somewhere? Waiting for your answer very urgently!

krishnabajpayee commented 5 years ago

I have also an old smartphone runinig on android lolipop which powered by a 1.2GHz quad-core Spreadtrum SC773 cpu . Can I install android things on it