קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
Android Studio v1.5.0 (נובמבר 2015)
תיקונים ושיפורים:
- הוספנו ל-Android Monitor יכולות חדשות לניתוח של Memory Monitor. כשמציגים קובץ HPROF שצולם מהמסך הזה, התצוגה עכשיו מועילה יותר, כך שאפשר לאתר בעיות מהר יותר, כמו דליפות זיכרון. כדי להשתמש בכלי הזה, לוחצים על Android Monitor בתחתית החלון הראשי. ב-Android Monitor, לוחצים על הכרטיסייה Memory (זיכרון). בזמן שהמסך פועל, לוחצים על הסמל Dump Java Heap, ואז לוחצים על Captures בחלון הראשי ולוחצים לחיצה כפולה על הקובץ כדי להציג אותו. בצד שמאל, לוחצים על Capture Analysis (לכידת ניתוח). (אי אפשר להפעיל את Android Device Monitor ואת Android Monitor בו-זמנית).
- נוספה תמיכה חדשה בקישורי עומק ובקישורי אפליקציות. עורך הקוד יכול ליצור באופן אוטומטי מסנן כוונות לקישורי עומק בקובץ
AndroidManifest.xml
. הוא יכול גם ליצור קוד שיעזור לכם לשלב את App Indexing API בפעילות בקובץ Java. תכונת בדיקת קישורי עומק עוזרת לכם לוודא שקישור עומק מסוים יכול להפעיל אפליקציה. בכרטיסייה General (כללי) בתיבת הדו-שיח Run/Debug Configurations (הגדרות הפעלה/ניפוי באגים), אתם יכולים לציין אפשרויות להפעלת קישור עומק. אפשר גם לבדוק קריאות ל-App Indexing API בפעילות באמצעות התצוגה logcat של Android Monitor. בכלי lint
ל-Android מוצגות עכשיו אזהרות לגבי
בעיות מסוימות שקשורות לקישורי עומק ול-API של הוספת אפליקציות לאינדקס.
- הוספנו את האפשרות להשתמש בכינויים כשמשלימים קוד של תצוגות מותאמות אישית בעורך הקוד.
- הוספנו תמיכה בעוד רכיבי
VectorDrawable
ל-Vector Asset Studio כדי לשמור על תאימות לאחור. הכלי Vector Asset Studio יכול להשתמש באלמנטים האלה כדי להמיר נכסי וקטור לפורמט PNG של תמונות רסטר לשימוש ב-Android מגרסה 4.4 (רמת API 20) ומטה.
- הוספנו
lint
בדיקות חדשות ל-Android TV ול-Android Auto כדי לספק לכם משוב מיידי ופרקטי ב-Android Studio, יחד עם כמה תיקונים מהירים. לדוגמה,
ב-Android TV, הוא יכול לדווח על בעיות בהרשאות, בחומרה שלא נתמכת, ברכיב uses-feature
ובבאנר חסר, ולספק פתרון מהיר לבעיות האלה. ב-Android Auto, הכלי יכול לאמת את השימוש הנכון בקובץ התיאור שמופיע בקובץ AndroidManifest.xml
, לדווח אם אין מסנן Intent עבור המחלקה MediaBrowserService
ולזהות בעיות מסוימות בפעולות קוליות.
- הוספנו בדיקות חדשות של
lint
לגבי מקלטי שידור לא מאובטחים,
שימושים במחלקות SSLCertificateSocketFactory
ו-HostnameVerifier
, וקריאות ל-File.setReadable()
ול-File.setWritable()
. הוא גם מזהה בדיקות לא תקינות של משאבי מניפסט, במיוחד משאבים שמשתנים בהתאם להגדרות.
- תיקנו מספר בעיות יציבות.
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-09-03 (שעון 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-09-03 (שעון UTC)."],[],[],null,["\u003cbr /\u003e\n\nAndroid Studio v1.5.0 (November 2015)\n\nFixes and enhancements:\n\n- Added new Memory Monitor analysis abilities to Android Monitor. When you view an HPROF file captured from this monitor, the display is now more helpful so you can more quickly locate problems, such as memory leaks. To use this monitor, click **Android Monitor** at the bottom of the main window. In Android Monitor, click the **Memory** tab. While the monitor is running, click the **Dump Java Heap** icon, and then click **Captures** in the main window and double-click the file to view it. Click *Capture Analysis* on the right. (The Android Device Monitor can't be running at the same time as Android Monitor.)\n- Added new deep link and app link support. The Code Editor can automatically create an intent filter for deep linking in the `AndroidManifest.xml` file. It can also generate code to help you integrate with the [App Indexing API](http://developers.google.com/app-indexing/android/publish) in an activity in a Java file. A deep link testing feature helps you verify that a specified deep link can launch an app. In the **General** tab of the *Run/Debug Configurations* dialog, you can specify deep link launch options. You can also test App Indexing API calls in an activity by using the Android Monitor **logcat** display. The Android `lint` tool now has warnings for certain issues involving deep links and the App Indexing API.\n- Added the ability to use short names when code-completing custom views in the Code Editor.\n- Added support for more [VectorDrawable](/reference/android/graphics/drawable/VectorDrawable) elements to [Vector Asset Studio](/tools/help/vector-asset-studio) for backward-compatibility. Vector Asset Studio can use these elements to convert vector drawables into PNG raster images to use with Android 4.4 (API level 20) and lower.\n- Added new `lint` checks for Android TV and Android Auto to give you immediate, actionable feedback in Android Studio, along with several quick fixes. For example, for Android TV, it can report and provide a quick fix for permissions, unsupported hardware, `uses-feature` element, and missing banner issues. For Android Auto, it can validate the correct usage in the descriptor file referred from your `AndroidManifest.xml` file, report if there isn't an intent filter for the `MediaBrowserService` class, and identify certain voice actions issues.\n- Added new `lint` checks for insecure broadcast receivers, `SSLCertificateSocketFactory` and `HostnameVerifier` class uses, and `File.setReadable()` and `File.setWritable()` calls. It also detects invalid manifest resource lookups, especially for resources that vary by configuration.\n- Fixed a number of stability issues.\n\n\u003cbr /\u003e"]]