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 app force close
Animate to User Location (Android)
Fragments based menu
“Ə” character in android
How to access and manipulate views inside a ListView item?
Why can't I get the URI of profile pic from a contact number?
Android - retrieve string array from resources
Android emulator crash on Mac
Position of row in ListView that checkBox is selected
Big bitmap not always created
Building Standalone Toolchain for NDK 8 on Windows 7 [duplicate]
How can I integrate with lock screen player controls from Adobe Air?
Android ListAdapter from Array List
image from camera intent issue in android
Total number of contacts - android
Android 3.2 - SurfaceView got blacked out but reappear if the “Mini Apps Tray” visible

Categories

HOME
azure-stream-analytics
gridview
prism
apache-flink
webdriver
3d
zend-framework
serialization
hessian
socket.io
grafana
pyqt4
angularfire2
elasticsearch-5
okhttp
arangodb
pcl-crypto
jxl
scsi
gmm
apache2.4
imagemap
ember-cli
scriptella
displaytag
froala
onload
corpus
asymptotic-complexity
has-and-belongs-to-many
oculus
firebase-analytics
paperjs
subclass
alm
magento-1.8
userdefaults
recurring-events
mailkit
reverse
apic
wurfl
sql-server-ce
ideascript
pom.xml
servermanager
sonarlint-eclipse
serde
activeperl
insight
payara-micro
context-switch
stdmap
git-flow
reshape
mach-o
offline.js
objectscript
branch-prediction
restore
rmongo
ziparchive
udpclient
pre-build-event
aurora
np-spring
ascii-art
dllimport
poppler
page.js
dock
rpart
eoferror
mirror
nutiteq
android-broadcast
java-security
code-documentation
webfinger
jqmodal
with-statement
wxformbuilder
memset
vsx
windows-embedded-standard
visual-studio-express
ie8-compatibility-mode
code-duplication
mongohq
predicatebuilder
multiplatform
event-receiver
http-daemon
tmx
instantiationexception
jqueryform
addchild
zend-rest
scrubyt
great-circle

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