android


Android Unit Testing Robolectric:3.3.2 - No such manifest file


when i am running my tests, following error is showing
No such manifest file: build\intermediates\bundles\debug\AndroidManifest.xml
java.lang.ClassCastException: android.app.Application cannot be cast to gyg.android.reviews.ReviewApplication
Following are Gradle dependencies
compile group: 'org.mockito', name: 'mockito-all', version: '2.0.2-beta'
testCompile "org.robolectric:robolectric:3.3.2"
testCompile 'org.mockito:mockito-core:1.10.19'
testCompile 'junit:junit:4.12'
This is how i am starting my Test Class
#RunWith(RobolectricTestRunner.class)
#Config(constants = BuildConfig.class)
public class ReviewListPresenterTest {
I remember when i close Android studio yesterday. These tests were running but not now nor in my new project.
I am using Roboelectric 3.3.2 with Android Studio 2.3.2

Related Links

ImageButton animation not applied to all states
First time Google Map API
Android Studio, Gradle and Card.IO
Android apk expansion file - optional
Face recognize using Opencv4Android SDK tutorial?
How to display alert dialog in activity after user resume app
Remove: complete action using
Catching onClick events in child view of a list item
Android: Stagefright H.264 frame by frame decode in android 4.0.4
Api version greater than 14 does not launch emulator in android studio
Checkbox without the square android
ViewPager dynamic width height
Android, something like on compass click listener
Failed to convert #color/Blue into a drawable when setting background color
Android Cipher throwing BadPaddingException, but not in Java
Android Studio APK Build zipalign issue and Zipalign.exe flashes screen

Categories

HOME
composite-primary-key
shiro
vscode-extensions
tail
hugo
onclick
babeljs
special-characters
pcl-crypto
line
angular-dart
endpoint
pybossa
package-managers
searchview
atlassian-stash
git-extensions
libigl
pagespeed
event-store
android-sharedpreferences
apktool
subclass
user-defined-functions
gp
mql
boost-asio
google-cast
card.io
jett
github3.py
gojs
reactjs.net
modalviewcontroller
yowsup
searchkit
loading
metawidget
mcustomscrollbar
portforwarding
linqpad
berkeley-db-je
snapchat
ntvs
chai-as-promised
launchctl
twilio-click-to-call
zenhub
page-replacement
yii2-user
cpu-cache
mathcad
django-1.10
sandcastle
flex4.6
windows-azure-queues
scaffolding
swizzling
freepbx
thread-sleep
mobiledoc-kit
graphics2d
alloy-ui
actionfilterattribute
at-job
trdion2011
named-parameters
extjs2
decoupling
square-bracket
openargs
windows-embedded-standard
process-explorer
dopostback
qtconcurrent
dajaxice
oracle-enterprise-linux
apache-commons-dbutils
lr
socketserver
mtu
cac
objective-j
spread
strtod
feasibility
asynchronous-wcf-call
blind

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