Is it necessary to first connect raspberry pi 3 with adb then develop the android things project -


i new android things. tried build android things app on android studio 2.3.3 25 sdk. when wrote android things support library dependency of app module app.gradle file. , pressed 'synce now' button, gives me error...

"install repository sync"

plz me. loved develop android things app...

you don't need connect raspberry pi develop android things project. there 3 points have keep in mind while developing android things:

  • update sdk tools version 25.0.3 or higher.
  • update sdk android 8.0 (api 26) or higher.
  • in order access new apis things, must create project or modify existing project targets android 8.0 (api level 26) or higher. add library.

in case, need install latest bulid tools, , repositories develop android things project. build.gradle should this:

apply plugin: 'com.android.application' android { compilesdkversion 25 buildtoolsversion "25.0.3"  defaultconfig {     applicationid "com.android.androidthings.id"     minsdkversion 21     targetsdkversion 26     versioncode 1     versionname "1.0" } buildtypes {     release {         minifyenabled false         proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro'     } } } dependencies {         compile filetree(dir: 'libs', include: ['*.jar'])         testcompile 'junit:junit:4.12'         compile 'com.android.support:appcompat-v7:25.3.1'         provided 'com.google.android.things:androidthings:0.3-devpreview' } 

Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -