yt-watchme icon indicating copy to clipboard operation
yt-watchme copied to clipboard

WatchMe - Android studio build issue

Open achinverma opened this issue 8 years ago • 28 comments

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'
}

achinverma avatar Apr 05 '16 09:04 achinverma

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

mohit-sharma-87 avatar Jul 18 '16 07:07 mohit-sharma-87

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

hbally avatar Aug 17 '16 06:08 hbally

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

mohit-sharma-87 avatar Aug 26 '16 18:08 mohit-sharma-87

@mohit-sharma-87 hi can you send me compilable code on [email protected]. thanks

dhaval22 avatar Sep 05 '16 07:09 dhaval22

@mohit-sharma-87 Could you please share the code with me? My email is [email protected] Thanks.

sunshinetpu avatar Oct 14 '16 01:10 sunshinetpu

Could you please share the code with me? My email is [email protected] Thanks.

lotofweb avatar Oct 28 '16 23:10 lotofweb

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

vranacse avatar Feb 17 '17 05:02 vranacse

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:

  • Design tips (http://developer.android.com/design/index.html) Design | Android Developers http://developer.android.com/design/index.html developer.android.com Create beautiful experiences in your apps.

  • Graphic asset downloads (http://developer.android.com/design/downloads/index.html) Downloads | Android Developers http://developer.android.com/design/downloads/index.html developer.android.com For icons, sticker sheets, and other downloadable resources, visit the Design site or use the links below. The toolkit contains detailed specs and measurements of all of the primary Android Wear UI components. Available in PDF and Illustrator formats.…

  • API guides (http://developer.android.com/guide/index.html) Introduction to Android | Android Developers http://developer.android.com/guide/index.html developer.android.com Android provides a rich application framework that allows you to build innovative apps and games for mobile devices in a Java language environment. The documents listed in the left navigation provide details about how to build apps using Android's…

  • Android Studio & SDK (http://developer.android.com/sdk/index.html) Download Android Studio and SDK Tools | Android Studio http://developer.android.com/sdk/index.html developer.android.com Download the official Android IDE and developer tools to build apps for Android phones, tablets, wearables, TVs, and more.

  • Publishing & marketing tools (http://developer.android.com/distribute/tools/index.html) Essentials for a Successful App | Android Developers http://developer.android.com/distribute/tools/index.html developer.android.com A focus on quality should be part of your entire app delivery process: from initial concept through app and UI design, coding and testing and onto a process of monitoring feedback and making improvement after launch.…

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 [email protected]mailto:[email protected] 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 [email protected] 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 [email protected]mailto:[email protected] , 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.

lotofweb avatar Feb 17 '17 10:02 lotofweb

hi, can u send compilable code on [email protected] because i have some issues

muhammadFawzy avatar Feb 18 '17 19:02 muhammadFawzy

Hi can u send a compilable code [email protected]

MuthuEphron avatar Feb 21 '17 18:02 MuthuEphron

Hi could you please share the code with me? my email is [email protected] Thanks.

annahl avatar Feb 23 '17 09:02 annahl

need working demo app with both video and audio working ! contact : [email protected]

vranacse avatar Mar 27 '17 10:03 vranacse

Has anyone solved it?

Thanks.

xdeop avatar Mar 27 '17 15:03 xdeop

yeah ! revert me on [email protected]

vranacse avatar Mar 27 '17 17:03 vranacse

@mohit-sharma-87 Please send your compilable code to this mail [email protected]

MuthuEphron avatar Mar 28 '17 05:03 MuthuEphron

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.

MuthuEphron avatar Mar 28 '17 05:03 MuthuEphron

@mohit-sharma-87 could you please share with me , email : [email protected] thanks.

nisd93 avatar Jun 01 '17 13:06 nisd93

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

lotofweb avatar Jun 18 '17 21:06 lotofweb

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..

arindam9851 avatar Nov 27 '18 06:11 arindam9851

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

vranacse avatar Nov 27 '18 06:11 vranacse

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

Checking sir

arindam9851 avatar Nov 27 '18 06:11 arindam9851

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..

arindam9851 avatar Nov 27 '18 07:11 arindam9851

Change ACCOUNT_KEY and APP_NAME too

vranacse avatar Nov 27 '18 07:11 vranacse

Change ACCOUNT_KEY and APP_NAME too

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

arindam9851 avatar Nov 27 '18 08:11 arindam9851

yes

vranacse avatar Nov 27 '18 08:11 vranacse

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 avatar Nov 27 '18 08:11 arindam9851

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 avatar Nov 27 '18 09:11 arindam9851

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..?

arindam9851 avatar Dec 05 '18 13:12 arindam9851