Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 28468

How can I import java third party library via gradle to my React Native Project

$
0
0

What I'm trying to do is import a third party java library via gradle to my React-Native (0.60) fresh project. so then I can access the dependency by creating module;

to be specific this package https://github.com/sannies/mp4parser

I have already tried and added the implementation "org.mp4parser:isoparser:1.9.27" at android/app/build.gradle file. but many of classes not able to access when I'm trying to do.

Check the error log

On build these not found error throwing

error: package org.mp4parser.muxer does not exist import org.mp4parser.muxer.FileDataSourceImpl;
error: package org.mp4parser.muxer does not exist import org.mp4parser.muxer.Movie;
error: package org.mp4parser.muxer does not exist import org.mp4parser.muxer.Track;

What can I do? I would like to know the proper way or if I'm doing anything wrong. Please help me guys.


Viewing all articles
Browse latest Browse all 28468

Trending Articles