2017-07-06 7 views
20

मैं आज यह त्रुटि आई इसे में संलग्न फेसबुक एसडीके के साथ एक अनुप्रयोग चलाने के लिए कोशिश कर रहा है।फेसबुक तार कोई डिफ़ॉल्ट अनुवाद

Warning:string 'com_facebook_smart_login_confirmation_continue_as_f1gender' has no default translation. 
Warning:string 'com_facebook_loginview_log_out_action_f1gender' has no default translation. 
Warning:string 'com_facebook_loginview_log_in_button_continue_f1gender' has no default translation. 
Warning:string 'com_facebook_smart_login_confirmation_continue_as_m2gender' has no default translation. 
Warning:string 'com_facebook_loginview_log_out_button_m2gender' has no default translation. 
Warning:string 'com_facebook_loginview_log_out_action_m2gender' has no default translation. 
Warning:string 'com_facebook_share_button_text_m2gender' has no default translation. 
Warning:string 'com_facebook_loginview_logged_in_as_f1gender' has no default translation. 
Warning:string 'com_facebook_send_button_text_m2gender' has no default translation. 
Warning:string 'com_facebook_smart_login_confirmation_cancel_m2gender' has no default translation. 
Warning:string 'com_facebook_loginview_logged_in_using_facebook_m2gender' has no default translation. 
Warning:string 'com_facebook_loginview_log_out_button_f1gender' has no default translation. 
Warning:string 'com_facebook_send_button_text_f1gender' has no default translation. 
Warning:string 'com_facebook_loginview_logged_in_as_m2gender' has no default translation. 
Warning:string 'com_facebook_smart_login_confirmation_cancel_f1gender' has no default translation. 
Warning:string 'com_facebook_loginview_logged_in_using_facebook_f1gender' has no default translation. 
Warning:string 'com_facebook_share_button_text_f1gender' has no default translation. 
Warning:string 'com_facebook_loginview_log_in_button_continue_m2gender' has no default translation. 
Warning:string 'com_facebook_smart_login_confirmation_title_f1gender' has no default translation. 
Warning:string 'com_facebook_smart_login_confirmation_title_m2gender' has no default translation. 
Warning:string 'com_facebook_tooltip_default_f1gender' has no default translation. 
Warning:string 'com_facebook_tooltip_default_m2gender' has no default translation. 
Error:Error converting bytecode to dex: 
Cause: java.lang.RuntimeException: Exception parsing classes 
Error:1 error; aborting 
Error:Execution failed for task ':app:transformClassesWithDexForDebug'. 
> com.android.build.api.transform.TransformException: java.lang.RuntimeException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: Return code 1 for dex process 
Information:BUILD FAILED 

मैं यह पता लगाने की क्यों, लेकिन मैं अंग्रेजी के अलावा अन्य स्ट्रिंग भाषा के लिए पूछने की कोशिश नहीं की कोशिश कर रहा हूँ। जरूरत के मामले में, यह मेरे ऐप Gradle है:

apply plugin: 'com.android.application' 

android { 
    compileSdkVersion 25 
    buildToolsVersion "25.0.2" 
    defaultConfig { 
     applicationId ".chillout" 
     minSdkVersion 15 
     targetSdkVersion 25 
     versionCode 1 
     versionName "1.0" 
     testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 
    } 
    buildTypes { 
     release { 
      minifyEnabled false 
      proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 
     } 
    } 
} 

dependencies { 
    compile fileTree(dir: 'libs', include: ['*.jar']) 
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { 
     exclude group: 'com.android.support', module: 'support-annotations' 
    }) 
    compile 'com.android.support:appcompat-v7:25.1.1' 
    compile 'com.android.support:design:25.3.1' 
    compile 'com.github.bumptech.glide:glide:3.7.0' 
    compile 'com.google.firebase:firebase-database:10.0.0' 
    compile 'com.google.firebase:firebase-storage:10.0.0' 
    compile 'com.google.firebase:firebase-messaging:10.0.0' 
    compile 'com.facebook.android:facebook-android-sdk:[4,5)' 
    compile 'com.firebaseui:firebase-ui-database:1.2.0' 
    compile 'com.android.support:cardview-v7:25.3.0' 
    compile 'com.android.support.constraint:constraint-layout:1.0.2' 
    testCompile 'junit:junit:4.12' 
} 
apply plugin: 'com.google.gms.google-services' 

और यह अपने प्रोजेक्ट Gradle है।

// Top-level build file where you can add configuration options common to all sub-projects/modules. 

buildscript { 
    repositories { 
     jcenter() 
     mavenCentral() 
    } 
    dependencies { 
     classpath 'com.android.tools.build:gradle:2.3.3' 
     classpath 'com.google.gms:google-services:3.0.0' 

     // NOTE: Do not place your application dependencies here; they belong 
     // in the individual module build.gradle files 
    } 
} 

allprojects { 
    repositories { 
     jcenter { 
     } 
    } 
} 

task clean(type: Delete) { 
    delete rootProject.buildDir 
} 

धन्यवाद!

+0

की संभावित डुप्लिकेट [कोई डिफ़ॉल्ट अनुवाद है और आर उत्पन्न नहीं किया जा रहा है] (https://stackoverflow.com/questions/34874637/has-no- डिफ़ॉल्ट-अनुवाद और आर है-नहीं किया जा रहा है-उत्पन्न) – LazerBanana

+1

मैं इस एक नकली, यह कोई मुद्दा फेसबुक एसडीके और अपने स्वयं के मुद्दे – oronbz

+0

के लिए महान उम्मीदवार के साथ विशिष्ट मैं फेसबुक एसडीके के लिए बग अपलोड करने का प्रयास है नहीं लगता है लेकिन यह एक पहुँच टोकन के लिए कहा, अगर मैं एप्लिकेशन लॉन्च नहीं कर सकते हैं कि कैसे मैं पहुँच टोकन प्राप्त कर सकते हैं !? –

उत्तर

18

(11 जुलाई, 2017 की स्थिति के अनुसार)

रोल वापस पिछले संस्करण है, जो है 4.23.0 करने के लिए, काम करने ठीक लग रहा है। अर्थात।

compile 'com.facebook.android:facebook-android-sdk:4.23.+' 

नवीनतम रिलीज 4.24.0 Android और iOS दोनों पर कई मायनों में समस्याग्रस्त हो रहा है।

8

मैं अपने एप्लिकेशन बनाने जबकि, लेकिन त्रुटियों के बिना एक ही com_facebook चेतावनी थी। तो मेरा अनुमान है कि चेतावनियां और त्रुटियां एक-दूसरे से संबंधित नहीं हैं।

किसी भी मामले में, मैं एक फ़ाइल res/values/facebook-strings.xml जोड़ने निम्नलिखित युक्त द्वारा com_facebook चेतावनी से छुटकारा मिला:

<?xml version="1.0" encoding="utf-8"?> 
<resources> 
    <string name="com_facebook_loginview_log_in_button_continue_f1gender">Continue</string> 
    <string name="com_facebook_loginview_log_in_button_continue_m2gender">Continuee</string> 
    <string name="com_facebook_loginview_log_out_action_f1gender">Log out</string> 
    <string name="com_facebook_loginview_log_out_action_m2gender">Log out</string> 
    <string name="com_facebook_loginview_log_out_button_f1gender">Log out</string> 
    <string name="com_facebook_loginview_log_out_button_m2gender">Log out</string> 
    <string name="com_facebook_loginview_logged_in_as_f1gender">Logged in as</string> 
    <string name="com_facebook_loginview_logged_in_as_m2gender">Logged in as</string> 
    <string name="com_facebook_loginview_logged_in_using_facebook_f1gender">Logged in using Facebook</string> 
    <string name="com_facebook_loginview_logged_in_using_facebook_m2gender">Logged in using Facebook</string> 
    <string name="com_facebook_send_button_text_f1gender">Send</string> 
    <string name="com_facebook_send_button_text_m2gender">Send</string> 
    <string name="com_facebook_share_button_text_f1gender">Share</string> 
    <string name="com_facebook_share_button_text_m2gender">Share</string> 
    <string name="com_facebook_smart_login_confirmation_cancel_f1gender">Cancel</string> 
    <string name="com_facebook_smart_login_confirmation_cancel_m2gender">Cancel</string> 
    <string name="com_facebook_smart_login_confirmation_continue_as_f1gender">Continue</string> 
    <string name="com_facebook_smart_login_confirmation_continue_as_m2gender">Continue</string> 
    <string name="com_facebook_smart_login_confirmation_title_f1gender">Confirm</string> 
    <string name="com_facebook_smart_login_confirmation_title_m2gender">Confirm</string> 
    <string name="com_facebook_tooltip_default_f1gender">Default</string> 
    <string name="com_facebook_tooltip_default_m2gender">Default</string> 
</resources> 

सुनिश्चित नहीं हैं कि इसके बाद के संस्करण "डिफ़ॉल्ट अनुवाद" मतलब है कि क्या है, लेकिन मैं उन्हें कभी वैसे भी देखा। (चेतावनी एक कॉर्डोबा प्लगइन है कि मैं के साथ गड़बड़ नहीं करना चाहता था का एक परिणाम के थे)।

+2

पर डाउनग्रेड कर रहा हूं, मुझे एक्समरिन में भी मिला, आपके समाधान ने मेरी मदद की लेकिन हाँ - वे केवल अन्य त्रुटियों को कवर करने वाली चेतावनियां थीं। धन्यवाद! – Micer

+0

मुझे भी। मैं समझ नहीं पा रहा हूं कि यह क्यों हो रहा है। यह केवल तब हुआ जब मैंने वीएस2017 को 15.4.2 तक अपग्रेड किया! – LDJ

+0

यह सही उत्तर है। स्वीकार्य एक आलसी कामकाज है .. – Barakuda

0

Xamarin.Facebook.Android 4.26.0 समस्या हल

संबंधित मुद्दे