youtube / yt-watchme

342 stars 136 forks source link

WatchMe - Android studio build issue #35

Open achinverma opened 8 years ago

achinverma commented 8 years ago

Hi, i have build this project with eclipse and it is running fine , but when i try to build this project in android studio i am error in my Ffmpeg class , please see the below untitled

i have copy all the file from my running demo which i made in eclipse to my android studio project directory , i will post my directory structure and build.gradle , please anyone guide me?

untitled2

apply plugin: 'com.android.application'

android {
    compileSdkVersion 22
    buildToolsVersion "23.0.2"

    defaultConfig {
        applicationId "competent.groove.thegrooveboss"
        minSdkVersion 14
        targetSdkVersion 22
        versionCode 19
        versionName "1.1"
        // Enabling multidex support.
        multiDexEnabled true
    }
    sourceSets.main {
        jniLibs.srcDir 'src/main/jniLibs/armeabi'//set libs as .so's location instead of jni// src/main/jni/libs
        jni.srcDirs = [] //disable automatic ndk-build call
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    dexOptions {
        javaMaxHeapSize "4g"
    }
    compileOptions.encoding = 'ISO-8859-1'
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile project(':dialog')
    compile project(':observable_RecycleView_Demo')
    compile project(':zBarScannerActivity')
    compile project(':graphmain')
    compile files('libs/achartengine-1.1.0.jar')
    compile files('libs/FlurryAnalytics-4.0.0.jar')
    compile files('libs/gson-2.2.4.jar')
    compile files('libs/picasso-2.5.2.jar')
    compile files('libs/retrofit-1.9.0.jar')
    compile 'com.android.support:appcompat-v7:22.2.1'
    compile 'com.appyvet:materialrangebar:1.0'
    compile 'com.github.traex.rippleeffect:library:1.3'
    compile 'com.android.support:support-v4:23.0.1'
    compile 'com.google.android.gms:play-services-maps:8.1.0'
    compile 'com.google.android.gms:play-services-analytics:8.1.0'
    compile files('libs/aws-android-sdk-core-2.2.9.jar')
    compile files('libs/aws-android-sdk-s3-2.2.9.jar')
    compile project(':library')
    compile 'com.android.support:design:22.2.0'
    compile files('libs/hellocharts-library-1.5.8.jar')
    compile 'com.google.android.gms:play-services-gcm:8.1.0'
    compile files('libs/YouTubeAndroidPlayerApi.jar')
    compile files('libs/opencsv-3.7.jar')
    compile files('libs/google-api-client-1.19.0.jar')
    compile files('libs/google-api-client-android-1.19.0.jar')
    compile files('libs/google-api-client-gson-1.19.0.jar')
    compile files('libs/google-api-client-jackson2-1.19.0.jar')
    compile files('libs/google-api-services-youtube-v3-rev120-1.19.0.jar')
    compile files('libs/google-http-client-1.19.0.jar')
    compile files('libs/google-http-client-android-1.19.0.jar')
    compile files('libs/google-http-client-gson-1.19.0.jar')
    compile files('libs/google-http-client-jackson2-1.19.0.jar')
    compile files('libs/google-oauth-client-1.19.0.jar')
    compile files('libs/jackson-core-2.1.3.jar')
    compile files('libs/jsr305-1.3.9.jar')
    compile 'com.android.support:multidex:1.0.1'
    compile 'com.google.android.gms:play-services:8.1.0'
}
mohit-sharma-87 commented 7 years ago

@achinverma : Hi , I am having trouble running the project . will it possible for you to share your eclipse project with dependency .

hbally commented 7 years ago

@achinverma Hi, I urgently need this JNI part of the code, hope you can share, or is directly. So the libs;

mohit-sharma-87 commented 7 years ago

@li2014 : Please share your email id , i have complete compilable code . Sorry for delay in reply

dhaval22 commented 7 years ago

@mohit-sharma-87 hi can you send me compilable code on cccdev3@gmail.com. thanks

sunshinetpu commented 7 years ago

@mohit-sharma-87 Could you please share the code with me? My email is sunshine.tpu@gmail.com Thanks.

lotofweb commented 7 years ago

Could you please share the code with me? My email is fred.bocage@hotmail.fr Thanks.

vranacse commented 7 years ago

Hey! Can you send it to vranacse@gmail.com , becuase there is no accodec.h ,avformat.h, opt.h file available in code , could please send the working code on this email

lotofweb commented 7 years ago

Hi Vikas,

Here the answer of google when i try to solve my problem.

If you have a better solution please send to me.

sincerely.

__google support__

Hi Fred,

Thanks for contacting Google Play Developer Support.

Although I’m happy to answer any questions about managing your apps on the Google Play Developer Console, our team isn’t trained to provide technical support for app development questions.

For help developing Android apps, I recommend using our Android Developers site (http://developer.android.comhttp://developer.android.com/). The site has technical documentation, the Android SDK, and tips for distributing your apps. Android Developers http://developer.android.com/ developer.android.com The official site for Android developers. Provides the Android SDK and documentation for app developers and designers.

Here are some more specific resources on the Android Developers site:

Also, you can find Developer Support communities listed here: http://developer.android.com/support.html

If you have other questions about using the Google Play Developer Console, please let me know and I’ll be happy to help.

Regards, Victoria Google Play Developer Support

Did you know we offer chat support in English? You can chat with ushttps://support.google.com/googleplay/android-developer/?hl=en#contact=1 Monday through Friday, 7 a.m. to 6 p.m. Eastern Time.

To make sure we’re sending you relevant information, please update your web and email preferenceshttps://g.co/play/developeremails in the Developer Console.

My google question and the script which compiled____ On 01/27/17 17:48:10 bocage.fred@gmail.commailto:bocage.fred@gmail.com wrote:

1) I downloaded yt-direct-lite app on giithub, it's build and run perfectly : https://coolteams.net/yt-direct-lite-android.zip 2) I created a small app which used opencv and ffmpeg, it's build and run perfectly : https://coolteams.net/OpencvLiveStreaming.zip

Why i can't merge the both gradle, i have got a lot of error? I saw a lot of issues in stackoverflow, but nothing working greate.

The first error was firebaseinit, after AndroidHttp exception no class def found ! I found replace the extends "Application" by "MultiDexApplication", but no success!

Please could you give the correct way to use gradle with : opencv, youtube data api v3, and firebase.

Please, i'am on it two weeks ago, this problem break my world.

Sincerely, BOCAGE Fred

Cordialement, BOCAGE FRED FRED WEBDESIGN "Une idée, c'est gagnée!"

SIREN:514666874 SIRET:51466687400037 CNIL:1458759 Port: 0651770167


De : Vikas Rana notifications@github.com Envoyé : vendredi 17 février 2017 06:44 À : youtube/yt-watchme Cc : lotofweb; Comment Objet : Re: [youtube/yt-watchme] WatchMe - Android studio build issue (#35)

Hey! Can you send it to vranacse@gmail.commailto:vranacse@gmail.com , becuase there is no accodec.h ,avformat.h, opt.h file available in code , could please send the working code on this email

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/youtube/yt-watchme/issues/35#issuecomment-280558883, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AL69RFAR5raYBmqWR3LeMx7NElX-t8m7ks5rdTPLgaJpZM4H_5uB.

muhammadFawzy commented 7 years ago

hi, can u send compilable code on mfawzi109@gmail.com because i have some issues

MuthuEphron commented 7 years ago

Hi can u send a compilable code muthuephron39@gmail.com

annahl commented 7 years ago

Hi could you please share the code with me? my email is basyrun@outlook.com Thanks.

vranacse commented 7 years ago

need working demo app with both video and audio working ! contact : vranacse@gmail.com

xdeop commented 7 years ago

Has anyone solved it?

Thanks.

vranacse commented 7 years ago

yeah ! revert me on vranacse@gmail.com

MuthuEphron commented 7 years ago

@mohit-sharma-87 Please send your compilable code to this mail muthuephron39@gmail.com

MuthuEphron commented 7 years ago

Hi guys, How to work youtube watch me project in android studio in Windows 10. I need your help. Please give me the suggestion. I am very confused.

nisd93 commented 7 years ago

@mohit-sharma-87 could you please share with me , email : nisd93@gmail.com thanks.

lotofweb commented 7 years ago

The solution: https://play.google.com/store/apps/details?id=com.opencvlivestreaming Enjoy!

arindam9851 commented 5 years ago

i am failed to run this code on android Studio.. face the error Expected caller to ensure valid ABI: MIPS.. please help me for this..

vranacse commented 5 years ago

https://gitlab.com/vranacse/ytv Check this once

arindam9851 commented 5 years ago

https://gitlab.com/vranacse/ytv Check this once

Checking sir

arindam9851 commented 5 years ago

https://gitlab.com/vranacse/ytv Check this once

Checking sir

@vranacse sir.create live event is not working sir... and also when i choose an existing event then live streaming in not showing..

vranacse commented 5 years ago

Change ACCOUNT_KEY and APP_NAME too

arindam9851 commented 5 years ago

Change ACCOUNT_KEY and APP_NAME too

ACCOUNT_KEY==Api key APP_NAME== project name that is create on console.? @vranacse

vranacse commented 5 years ago

yes

arindam9851 commented 5 years ago

yes

sir i do the same thing but i am still getting same issue ... can you share your mail id ..? then i send the code snipped ... please... @vranacse

arindam9851 commented 5 years ago

when i click on the CREATE LIVE EVENT ... it fetch the all event from my account..MainActivity line no 387 ... after fetching all of event nothing happen.. @vranacse

arindam9851 commented 5 years ago

am facing the error while import module Caused by: com.android.builder.dexing.DexArchiveBuilderException: Failed to process C:\Users\lenovo\AndroidStudioProjects\Skylab-Droid\library\build\intermediates\intermediate-jars\staging\classes.jar

@vranacse ... any guess..?