Android उपभोक्ता SDK टूल पाएं
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
प्लैटफ़ॉर्म चुनें:
Android
iOS
JavaScript
अपने Android उपभोक्ता ऐप्लिकेशन में, ऑन-डिमांड यात्राओं के लिए सफ़र की जानकारी शेयर करने के लिए, Consumer SDK का इस्तेमाल करें. Consumer SDK टूल का इस्तेमाल करके किसी यात्रा को ट्रैक करने के बारे में ज़्यादा जानने के लिए, Android पर किसी यात्रा को ट्रैक करना लेख पढ़ें.
अपने Android उपभोक्ता ऐप्लिकेशन के लिए Consumer SDK टूल सेट अप करने के लिए, यह तरीका अपनाएं:
- सिस्टम की ज़रूरी शर्तें देखें
- Consumer SDK टूल पाना
- Google Cloud Console प्रोजेक्ट कॉन्फ़िगर करना
- पुष्टि करने वाले टोकन पाना
- Consumer SDK टूल को शुरू करना
सिस्टम से जुड़ी ज़रूरी शर्तें देखना
आपके इस्तेमाल किए जा रहे Consumer SDK टूल के वर्शन के लिए, ज़रूरी शर्तों के बारे में जानने के लिए रिलीज़ नोट देखें. प्रॉडक्ट की जानकारी देखें.
Consumer SDK टूल का इस्तेमाल करने के लिए: आपके ऐप्लिकेशन को minSdkVersion
23 या उसके बाद के वर्शन को टारगेट करना होगा.
Consumer SDK टूल का इस्तेमाल करने वाले ऐप्लिकेशन को चलाने के लिए: Android मोबाइल डिवाइसों को इन ज़रूरी शर्तों को पूरा करना होगा:
Google Maven रिपॉज़िटरी से Consumer SDK टूल पाना
Google Maven रिपॉज़िटरी से, Consumer SDK के 2.1.0 और उसके बाद के वर्शन पाएं.
पहले इस्तेमाल किया गया निजी रिपॉज़िटरी चैनल अब काम नहीं करता.
ग्रेडल
अपनी build.gradle
फ़ाइल में ये चीज़ें जोड़ें:
repositories {
...
google()
}
Maven
अपनी pom.xml
फ़ाइल में ये चीज़ें जोड़ें:
<project>
...
<repositories>
<repository>
<id>google-maven-repository</id>
<url>https://maven.google.com</url>
</repository>
</repositories>
...
</project>
आगे क्या करना है
Google Cloud Console प्रोजेक्ट कॉन्फ़िगर करना
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-03-11 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-03-11 (UTC) को अपडेट किया गया."],[[["The Google Maps Platform Consumer SDK enables journey sharing for on-demand trips in Android consumer apps."],["Android apps using the SDK must target minSdkVersion 23 or higher and have Google Play services installed."],["The Consumer SDK can be obtained from the Google Maven repository (versions 2.1.0 and later)."],["Before implementing, ensure the device meets minimum requirements including Android 6.0 (API level 23) or later."],["Next steps include configuring a Google Cloud Console project and obtaining authentication tokens."]]],["To share on-demand journeys in Android apps, utilize the Consumer SDK. First, verify the minimum system requirements, which include Android 6.0 (API level 23) or later, and Google Play services. Next, retrieve the Consumer SDK (version 2.1.0 or later) from the Google Maven repository by modifying the `build.gradle` or `pom.xml` file to include the Google repository. Finally, configure a Google Cloud console project. Authentication and SDK initialization are also required.\n"]]