Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SL4A Python 2.6.2 インタープリターを実行しています。このコードは問題なく動作します:
import android droid = android.Android()
しかし、同じマシンで QPython 2.7.2 インタープリターを実行していると、同じコードでエラーが発生します。
AttributeError: 'module' object has no attribute 'Android'
代わりにインポートandroidhelper します。
androidhelper
import androidhelper droid = androidhelper.Android()