0
Eclipse Android SDKをバージョン3.2にアップデートしました。現在、定数のコンパイルエラーが発生しています。Android Renderscript 3.2より厳格に3.1?
これは動作するために使用:
static const X = 2;
static const X_SQUARED = X * X;
しかし、今、私は2行目にコンパイル・エラーが発生します:
error: initializer element is not a compile-time constant
が、これは意図的な変化でしたか?それとも、私の環境に何か間違っているのでしょうか?
ありがとうございます!