กำลังพยายามใช้บริการ Google Play v- 0.9.34 บน unity 5.3 แต่เมื่อฉันพยายามลงชื่อเข้าใช้ Google Play ป๊อปอัปเปิดขึ้นมาแล้วหยุด
ข้อผิดพลาดใน log cat:- "ไม่สามารถดึงแอปพลิเคชัน xxxxxxxxxxxx จากเครือข่ายได้ ID แอปพลิเคชัน xxxxxxxxxxxx ไม่เกี่ยวข้องกับแพ็คเกจ com.company.game ตรวจสอบ ID แอปพลิเคชันในรายการของคุณ"
ฉันใช้เวลาไปมากเพื่อหาทางแก้ไข แต่ก็ไม่พบวิธีแก้ปัญหาใด ๆ ความช่วยเหลือทุกประเภทซาบซึ้งจริงๆ
ตรวจสอบสิ่งเหล่านี้แล้ว:
1. https://github.com/playgameservices/play-games-plugin-for-unity/issues/216
2. บริการเกมของ Google Play - ไม่สามารถลงชื่อเข้าใช้ได้
3. การเข้าสู่ระบบ Google Play Games ล้มเหลว
public class FruitLevelSelect : MonoBehaviour {
private string leaderbord = "xxxxxxxxxxxxxxxxx";
void Start()
{
PlayGamesPlatform.DebugLogEnabled = true;
GooglePlayGames.PlayGamesPlatform.Activate();
Social.localUser.Authenticate((bool success) => {
// handle success or failure
});
}
public void Share()
{
if (Social.localUser.authenticated)
{
((PlayGamesPlatform)Social.Active).ShowLeaderboardUI(leaderbord);
}
else {
Social.localUser.Authenticate((bool success) => {
if (success)
{
((PlayGamesPlatform)Social.Active).ShowLeaderboardUI(leaderbord);
}
});
}
}