android


Android studio instrumented apk error while running application


I have created one hello world demo and try to create an instumented apk using monkey talk with below link
http://www.jiahaoliuliu.com/2015/02/monkey-talk-integration-with-android.html
I don't found any error in build.gradle file in app module
Below is my build.gradle
apply plugin: 'com.android.application'
apply plugin: 'android-aspectj'
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "packagename"
minSdkVersion 15
targetSdkVersion 21
}
lintOptions {
checkReleaseBuilds false
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
monkeytalk.initWith(buildTypes.debug)
monkeytalk {
applicationIdSuffix ".monkey"
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:support-v4:21.0.1'
// GCM gradles
compile 'com.google.android.gms:play-services-gcm:8.4.0'
// Map & location
compile 'com.google.android.gms:play-services-maps:8.4.0'
compile 'com.google.android.gms:play-services-location:8.4.0'
//facebook
compile 'com.facebook.android:facebook-android-sdk:4.9.0'
compile project(':calenderLib')
// Dependency for Google + Sign-In
compile 'com.google.android.gms:play-services-plus:8.4.0'
// Dependency for Google Sign-In
compile 'com.google.android.gms:play-services-auth:8.4.0'
compile 'com.google.guava:guava:18.0'
compile 'joda-time:joda-time:2.4'
compile 'com.google.android.gms:play-services-appindexing:8.4.0'
compile files('monkey-libs/monkeytalk-agent-2.0.10.jar')
monkeytalkCompile fileTree(dir: 'monkey-libs', include: ['*.jar'])
}
While running application i found below error,
Error:Execution failed for task ':app:compileDebugJavaWithJavac'. > No such property: bootClasspath for class: com.android.build.gradle.AppPlugin
I am using android studio version 1.5.1 and monkey talk monkeytalk-2.0.10-win64
Error screen shot
see this document link
no need of using
monkeytalkCompile fileTree(dir: 'monkey-libs', include: ['*.jar'])
this give me error when i am running the project
no need of writing
monkeytalk.initWith(buildTypes.debug)
monkeytalk {
applicationIdSuffix ".monkey"
}
just use this :
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
i think this will help, if anyone is facing problem please let me know. My build is successfully running on monkeytalk IDE

Related Links

Android Studio Gradle Error after using #org.parceler.Parcel
Want to add photos from gallery into a GridView (Android Studio)
IllegalStateException in Android MediaPlayer execution
Callback in Firebase android
SKMaps Error When upload play store
How to make notification stay on top?
Easiest way to work with 3d models on android studio?
Why my Android application stops receiving notifications after a restart on Android Studio?
Android SearchView not showing text when typing
How to push down activity content while loading ad in android?
Pusher.js doesnt work on device using Ionic framework
CameraSource.takephoto rotate
Service from cordova plugin not starting anymore
Compilation Error: Error:(81, 18) error: cannot find symbol method addOnPageChangeListener(OnPageChangeListener)
Android Flowing Navigation Drawer
app:mergeDebugResources in Android studio

Categories

HOME
asp.net-web-api
search
deep-learning
polymer
swt
grafana
seo
soa
square
pearson-correlation
pkcs#11
barcode
qpython
p2p
appcelerator-studio
x-cart
supervisor
heat
http-post
dimensional-modeling
html5-appcache
git-extensions
charles
googlebot
ember-cli
ms-access-2003
firebase-analytics
jaws
finagle
ntp
recurring-events
keras-layer
getpixel
verifiable-c
unordered-map
doc
watchface
skylink
softmax
claims
outputcache
x++
pom.xml
jboss-4.2.x
serde
hammer.js
x-ray
page-replacement
edit
ampps
swingworker
branch-prediction
flex-monkey
uicolor
jboss-tools
appscale
deep
ikiwiki
uiactionsheet
nullable
django-urls
xvim
intel-c++
page.js
evolus-pencil
diff3
user-permissions
java-security
variadic-templates
android-vibration
cocos3d
ss7
ray
extjs2
notorm
preload
dopostback
onmousemove
fragmenttransaction
xcode3.2
rmiregistry
josql
inkcanvas
isa-swizzling
virtualpathprovider
convention
entity-attribute-value
screen-size
xcelsius
uipagecontrol
ruby-1.8
timertask
ie-compatibility-mode
openfaces
application-verifier
tabpanel
pos-for-.net
lalr
escrow
xslcompiledtransform
cardspace

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App