Comments (8)
@BANG88 how to resolve it, it make me painful
from photo-viewer.
@musicode if you look a this android:name="com.merryjs.PhotoViewer.PhotoViewer.MerryPhotoViewActivity
you will see that the package name is incorrect as it has PhotoViewer.PhotoViewer
twice and it should appear only once.
Update
After some try and error, I figured out what the problem is.
If you update the android manifest to look like this
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.merryjs.PhotoViewer">
<application>
<activity android:name=".PhotoViewer.MerryPhotoViewActivity" android:theme="@style/Theme.Transparent"/>
</application>
</manifest>
it should compile properly. Notice that the activity
tag is wrapped inside the application
tag. In previous versions, it will just emit a warning and ignore it but in most recent ones, it throws an error like the one @musicode is facing.
from photo-viewer.
from photo-viewer.
For some reason the activity tag is been placed outside the application tag in the manifiest, which seems really weired to me
from photo-viewer.
@krvajal 👍
@musicode Are you upgrade your gradle tools?
from photo-viewer.
yes, my gradle is 3.0.1
from photo-viewer.
@musicode Does this #44 (comment) can help you ? I don't recommend upgrade gradle since React Native still use a lower version.
from photo-viewer.
I have try a js component, because I want to custom the photo view with some buttons.
I don't want to spend time on compile error, i dont know what happened.
thank you.
from photo-viewer.
Related Issues (20)
- ERROR: The project name '@merryjs/photo-viewer' must not contain any of the following characters: [/, \, :, <, >, ", ?, *, |]. HOT 2
- Crash NSInvalidArgumentException HOT 2
- Can I using library for expo ? HOT 2
- Passing data through React-Navigation Issue HOT 6
- Typo in the documentation URL - "Porps"
- This is not an issue, just a Thank you note. ❤️
- Show 2 Viewer when it appear HOT 4
- Build failed with RN 0.62 on iOS HOT 2
- Slide the hidden image problem HOT 1
- Crash on iPad when you try to share an image (long press over image)
- [iOS] Saving a photo dismisses the overlay without calling onDismiss
- [Android] Volume buttons disabled when viewing a photo fullscreen HOT 2
- Android Share image HOT 1
- Framework not found NYTPhotoViewer HOT 3
- Would it be possible alllow to set background color
- Could not find me.relex:photodraweeview:1.1.0. HOT 6
- For anyone use SDWebImage or react-native-fast-image HOT 1
- Application Crash with the log "com.merryjs.PhotoViewer.PhotoViewer.MerryPhotoViewActivity" HOT 4
- Component 'MerryPhotoView' re-registered direct event 'topDismiss' as a bubbling event HOT 6
- Please make it possible to render your own button (menu) instead of the share button
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photo-viewer.