小编Muh*_*fan的帖子

无法为应用程序包ID创建IXPlaceholder

我从我的朋友Macbook复制了Xcode版本9.0(9A235),并替换为我的Xcode 8.3.2

当我在任何模拟器中运行我的应用程序说iPhone 8或iPhone X时,我得到同样的错误:

无法为应用程序包ID com创建IXPlaceholder.*****.****

在此输入图像描述

模拟器显示黑屏,而不是加载iOS 11

xcode ios xcode9

5
推荐指数
1
解决办法
3009
查看次数

3
推荐指数
1
解决办法
7798
查看次数

无法解析符号“BillingResponse”

我已经从以下 url https://developer.android.com/google/play/billing/billing_library_overview#java实现了计费库

我在这条线上出错

if (billingResult.getResponseCode() == BillingResponse.OK) {
Run Code Online (Sandbox Code Playgroud)

它说 Cannot resolve symbol 'BillingResponse'

这是上面链接的完整代码

billingClient.startConnection(new BillingClientStateListener() {
@Override
public void onBillingSetupFinished(BillingResult billingResult) {
    if (billingResult.getResponseCode() == BillingResponse.OK) {
        // The BillingClient is ready. You can query purchases here.
    }
}
@Override
public void onBillingServiceDisconnected() {
    // Try to restart the connection on the next request to
    // Google Play by calling the startConnection() method.
}
});
Run Code Online (Sandbox Code Playgroud)

我在我的应用程序build.gradle文件中添加了以下依赖项

dependencies {
    ...
    implementation 'com.android.billingclient:billing:2.1.0'
}
Run Code Online (Sandbox Code Playgroud)

但我收到错误

我什至无法手动导入

import …
Run Code Online (Sandbox Code Playgroud)

java android billing android-billing

3
推荐指数
1
解决办法
1004
查看次数

标签 统计

xcode9 ×2

android ×1

android-billing ×1

billing ×1

ios ×1

ios11 ×1

iphone ×1

java ×1

xcode ×1