Error building server: Command 'aapt' was not found inside the Android SDK

35 views
Skip to first unread message

Android Team 3E

unread,
Jun 22, 2018, 8:06:21 AM6/22/18
to selendroid

I am facing the below error:


Jun 22, 2018 1:08:27 PM io.selendroid.standalone.SelendroidLauncher main
INFO: ################# Selendroid #################
Jun 22, 2018 1:08:27 PM io.selendroid.standalone.SelendroidLauncher main
INFO: ################# Configuration in use #################
Jun 22, 2018 1:08:27 PM io.selendroid.standalone.SelendroidLauncher main
INFO: io.selendroid.standalone.SelendroidConfiguration@31cefde0[
port=4444
timeoutEmulatorStart=300000
supportedApps=[app-release.apk]
verbose=false
emulatorPort=5560
deviceScreenshot=false
selendroidServerPort=8080
keystore=
keystorePassword=
keystoreAlias=
emulatorOptions=
keepEmulator=false
registrationUrl=
proxy=
serverHost=
keepAdbAlive=false
maxSession=5
maxInstances=5
registerCycle=0
noWebViewApp=false
noClearData=false
sessionTimeoutSeconds=1800
forceReinstall=false
logLevel=ERROR
deviceLog=true
serverStartTimeout=20000
printHelp=false
serverStartRetries=5
folder=
deleteTmpFiles=true
]
Jun 22, 2018 1:08:27 PM io.selendroid.standalone.SelendroidLauncher launchServer
INFO: Starting Selendroid standalone on port 4444
Jun 22, 2018 1:08:27 PM io.selendroid.standalone.SelendroidLauncher launchServer
SEVERE: Error building server: Command 'aapt' was not found inside the Android SDK: /home/ajith/home/ajith/android_linux_sdk/build-tools. Please update to the latest development tools and try again.
Exception in thread "main" io.selendroid.server.common.exceptions.SelendroidException: Command 'aapt' was not found inside the Android SDK: /home/ajith/home/ajith/android_linux_sdk/build-tools. Please update to the latest development tools and try again.
at io.selendroid.standalone.android.AndroidSdk.findLatestAndroidPlatformFolder(AndroidSdk.java:119)
at io.selendroid.standalone.android.AndroidSdk.aapt(AndroidSdk.java:48)
at io.selendroid.standalone.android.impl.DefaultAndroidApp.deleteFileFromWithinApk(DefaultAndroidApp.java:107)
at io.selendroid.standalone.builder.SelendroidServerBuilder.deleteFileFromAppSilently(SelendroidServerBuilder.java:133)
at io.selendroid.standalone.builder.SelendroidServerBuilder.resignApp(SelendroidServerBuilder.java:142)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.addToAppsStore(SelendroidStandaloneDriver.java:121)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.initApplicationsUnderTest(SelendroidStandaloneDriver.java:155)
at io.selendroid.standalone.server.model.SelendroidStandaloneDriver.(SelendroidStandaloneDriver.java:94)
at io.selendroid.standalone.server.SelendroidStandaloneServer.initializeSelendroidServer(SelendroidStandaloneServer.java:63)
at io.selendroid.standalone.server.SelendroidStandaloneServer.(SelendroidStandaloneServer.java:52)
at io.selendroid.standalone.SelendroidLauncher.launchServer(SelendroidLauncher.java:65)
at io.selendroid.standalone.SelendroidLauncher.main(SelendroidLauncher.java:117)



Please let me know what should i do ?

Reply all
Reply to author
Forward
0 new messages